title
C Language Tutorial For Beginners In Hindi | C Programming For beginners | Great Learning

description
🔥1000+ Free Courses With Free Certificates: https://www.mygreatlearning.com/academy?ambassador_code=GLYT_DES_sqCrJ1m3f1w&utm_source=GLYT&utm_campaign=GLYT_DES_sqCrJ1m3f1w 🔥Accelerate your Software Development career with E&ICT IIT Roorkee https://www.mygreatlearning.com/advanced-certification-full-stack-software-development-iit-roorkee?ambassador_code=GLYT_DES_Middle_SEP22&utm_source=GLYT&utm_campaign=GLYT_DES_Middle_SEP52 Learn software engineering from leading global universities and attain a software engineering certification. Become a software engineer by taking up the best comprehensive software engineering courses designed for working professionals and fresh graduates. Over 500+ Hiring Partners & 8000+ career transitions over varied domains. Know More: https://glacad.me/3hM9woa 'C' is called the mother of all languages and keeping the importance of 'C' in mind, we have come up with this "C Language Tutorial For Beginners In Hindi". 🏁 Topics Covered: *Introduction 00:00:00 * Introduction to C 00:01:09 *Data Types and Variables in C 00:15:17 *Operators in C 00:31:38 *Strings in C 00:45:43 *Flow Control Statements 00:59:08 *Arrays in C 01:17:33 *Functions in C 01:28:57 *Structure in C 01:37:18 🔥Check Our Free Courses with free certificate: 📌 📌C Programming in Hindi course: https://glacad.me/3m6snO3 📌C++ Tutorial: https://www.mygreatlearning.com/academy/learn-for-free/courses/c-tutorial?ambassador_code=GLYT_DES_Middle_SEP22&utm_source=GLYT&utm_campaign=GLYT_DES_Middle_SEP22 📌Turbo C++: https://www.mygreatlearning.com/academy/learn-for-free/courses/turbo-c?ambassador_code=GLYT_DES_Middle_SEP22&utm_source=GLYT&utm_campaign=GLYT_DES_Middle_SEP22 📌Intro to C++ in Hindi: https://www.mygreatlearning.com/academy/learn-for-free/courses/intro-to-c-in-hindi?ambassador_code=GLYT_DES_Middle_SEP22&utm_source=GLYT&utm_campaign=GLYT_DES_Middle_SEP23 ⚡ About Great Learning Academy: Visit Great Learning Academy to get access to 1000+ free courses with free certificate on Data Science, Data Analytics, Digital Marketing, Artificial Intelligence, Big Data, Cloud, Management, Cybersecurity, Software Development, and many more. These are supplemented with free projects, assignments, datasets, quizzes. You can earn a certificate of completion at the end of the course for free. ⚡ About Great Learning: With more than 5.4 Million+ learners in 170+ countries, Great Learning, a part of the BYJU'S group, is a leading global edtech company for professional and higher education offering industry-relevant programs in the blended, classroom, and purely online modes across technology, data and business domains. These programs are developed in collaboration with the top institutions like Stanford Executive Education, MIT Professional Education, The University of Texas at Austin, NUS, IIT Madras, IIT Bombay & more. SOCIAL MEDIA LINKS: 🔹 For more interesting tutorials, don't forget to subscribe to our channel: https://glacad.me/YTsubscribe 🔹 For more updates on courses and tips follow us on: ✅ Telegram: https://t.me/GreatLearningAcademy ✅ Facebook: https://www.facebook.com/GreatLearningOfficial/ ✅ LinkedIn: https://www.linkedin.com/school/great-learning/mycompany/verification/ ✅ Follow our Blog: https://glacad.me/GL_Blog #CProgramming #CTutorial #GreatLearning

detail
{'title': 'C Language Tutorial For Beginners In Hindi | C Programming For beginners | Great Learning', 'heatmap': [{'end': 1440.009, 'start': 1369.837, 'weight': 1}, {'end': 2121.389, 'start': 2059.491, 'weight': 0.74}, {'end': 5123.993, 'start': 5051.694, 'weight': 0.79}], 'summary': 'This tutorial covers c programming basics, main function, fundamentals, data types, operators, string manipulation, math functions, conditional statements, loops, pointers, function overloading, arithmetic operations, structures, and unions, providing practical examples and demonstrations for efficient implementation.', 'chapters': [{'end': 306.14, 'segs': [{'end': 31.131, 'src': 'embed', 'start': 0.589, 'weight': 0, 'content': [{'end': 2.531, 'text': 'C is called the mother of all programming languages.', 'start': 0.589, 'duration': 1.942}, {'end': 6.974, 'text': 'So, today we are bringing you this C programming tutorial.', 'start': 2.831, 'duration': 4.143}, {'end': 15.16, 'text': 'Before starting the session, I would like to tell you that Great Learning has launched a free learning platform called Great Learning Academy.', 'start': 6.994, 'duration': 8.166}, {'end': 21.624, 'text': 'You will get more than 80 courses freely available at Great Learning Academy.', 'start': 15.18, 'duration': 6.444}, {'end': 24.206, 'text': 'After completing this course, you will also get a certificate.', 'start': 21.764, 'duration': 2.442}, {'end': 28.349, 'text': 'You will get the link of Great Learning Academy in the description.', 'start': 25.427, 'duration': 2.922}, {'end': 31.131, 'text': "So, let's quickly see the agenda.", 'start': 28.629, 'duration': 2.502}], 'summary': 'C is the focus of this tutorial. great learning offers 80+ free courses, with certificates.', 'duration': 30.542, 'max_score': 0.589, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w589.jpg'}, {'end': 86.206, 'src': 'embed', 'start': 49.525, 'weight': 1, 'content': [{'end': 54.046, 'text': 'And then finally after that we will work with arrays, functions and unions.', 'start': 49.525, 'duration': 4.521}, {'end': 56.427, 'text': "So now let's start the session quickly.", 'start': 54.207, 'duration': 2.22}, {'end': 71.98, 'text': 'So, we will start with a basic introduction about C.', 'start': 68.999, 'duration': 2.981}, {'end': 78.523, 'text': 'So, this C language was told by a person named Dennis Ritchie and it is a procedural language.', 'start': 71.98, 'duration': 6.543}, {'end': 86.206, 'text': 'So, what is procedural language? Procedural language is a top-down approach where you write code in sequence of steps.', 'start': 78.543, 'duration': 7.663}], 'summary': 'C language, introduced by dennis ritchie, is a procedural language with a top-down approach.', 'duration': 36.681, 'max_score': 49.525, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w49525.jpg'}, {'end': 143.534, 'src': 'embed', 'start': 110.998, 'weight': 3, 'content': [{'end': 114.021, 'text': 'C is one of the procedural languages.', 'start': 110.998, 'duration': 3.023}, {'end': 117.985, 'text': 'C is a platform independent programming language.', 'start': 114.782, 'duration': 3.203}, {'end': 120.828, 'text': 'You can run C on any operating system.', 'start': 118.306, 'duration': 2.522}, {'end': 125.313, 'text': 'If you have a Windows system, you can run C on Windows system.', 'start': 120.928, 'duration': 4.385}, {'end': 130.336, 'text': 'If you have Mac, you can run C on Mac.', 'start': 126.534, 'duration': 3.802}, {'end': 133.7, 'text': 'Similarly, if you have Linux, you can run C on Linux.', 'start': 130.698, 'duration': 3.002}, {'end': 138.865, 'text': 'This is totally platform independent language.', 'start': 134.081, 'duration': 4.784}, {'end': 143.534, 'text': 'There are many compilers available for C.', 'start': 139.793, 'duration': 3.741}], 'summary': 'C is a platform-independent language with compilers for various operating systems.', 'duration': 32.536, 'max_score': 110.998, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w110998.jpg'}, {'end': 218.208, 'src': 'embed', 'start': 172.765, 'weight': 4, 'content': [{'end': 176.848, 'text': 'The code you write is called source code.', 'start': 172.765, 'duration': 4.083}, {'end': 181.891, 'text': 'You have to convert this source code into an object code.', 'start': 176.868, 'duration': 5.023}, {'end': 185.193, 'text': 'The process of conversion is called compilation.', 'start': 181.931, 'duration': 3.262}, {'end': 192.881, 'text': 'In compilation, whatever code you have written, There might be some syntactical errors or semantic errors in it.', 'start': 185.314, 'duration': 7.567}, {'end': 197.727, 'text': 'All the errors are checked in this compilation process.', 'start': 193.201, 'duration': 4.526}, {'end': 203.293, 'text': 'After checking, if everything is correct, then your source code is converted into an object code.', 'start': 198.067, 'duration': 5.226}, {'end': 206.898, 'text': 'And this object code will not be your final code.', 'start': 203.353, 'duration': 3.545}, {'end': 215.185, 'text': 'You will have to convert this code into an executable code file and that process is called linking.', 'start': 208.8, 'duration': 6.385}, {'end': 218.208, 'text': 'So in linking, if we need any additional libraries.', 'start': 215.205, 'duration': 3.003}], 'summary': 'Source code is compiled into object code, then linked to create an executable file.', 'duration': 45.443, 'max_score': 172.765, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w172765.jpg'}, {'end': 306.14, 'src': 'embed', 'start': 276.792, 'weight': 6, 'content': [{'end': 281.813, 'text': 'So, if we want to use it, we will need to invoke all these libraries.', 'start': 276.792, 'duration': 5.021}, {'end': 286.535, 'text': 'So, we are including this library in our code with this code.', 'start': 282.273, 'duration': 4.262}, {'end': 289.715, 'text': 'So, we call it pre-processor directive.', 'start': 286.815, 'duration': 2.9}, {'end': 299.878, 'text': 'Pre-processor directive means that before compiling or executing, we should pre-process some things.', 'start': 290.035, 'duration': 9.843}, {'end': 300.738, 'text': 'So, that is here.', 'start': 300.178, 'duration': 0.56}, {'end': 306.14, 'text': 'So, before compilation, I am telling this code Listen to the compiler and load this library.', 'start': 300.758, 'duration': 5.382}], 'summary': 'Explaining the process of including libraries using pre-processor directive before compilation.', 'duration': 29.348, 'max_score': 276.792, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w276792.jpg'}], 'start': 0.589, 'title': 'C programming basics and introduction', 'summary': 'Introduces c programming basics and great learning academy, offering over 80 free courses with certification, and outlines the session agenda covering topics like c language, basics, conditional statements, arrays, functions, and unions. it also provides a basic introduction to the platform-independent programming language c, explaining the compilation and linking process, and the components of a c program, emphasizing the importance of libraries and pre-processor directives.', 'chapters': [{'end': 110.938, 'start': 0.589, 'title': 'C programming basics and great learning academy', 'summary': 'Introduces c programming basics and great learning academy, offering over 80 free courses with certification, and outlines the session agenda covering topics like c language, basics, conditional statements, arrays, functions, and unions.', 'duration': 110.349, 'highlights': ['Great Learning Academy offers over 80 courses freely available with certification. Great Learning Academy provides access to more than 80 free courses and offers certification upon completion.', 'The session agenda includes covering topics like C language, basics, conditional statements, arrays, functions, and unions. The agenda covers a range of topics including C language, basics, conditional statements (IF, IF-ELSE, FOR-LOOP, WHILE-LOOP), switch case, arrays, functions, and unions.', 'C language was introduced by Dennis Ritchie and is a procedural language, following a top-down approach. The C language was introduced by Dennis Ritchie and is a procedural language, characterized by a top-down approach where code is written in a sequence of steps.']}, {'end': 306.14, 'start': 110.998, 'title': 'Introduction to c programming', 'summary': 'Gives a basic introduction to the platform-independent programming language c, explaining the compilation and linking process, and the components of a c program, emphasizing the importance of libraries and pre-processor directives.', 'duration': 195.142, 'highlights': ['C is a platform independent programming language that can run on any operating system. C is a platform independent language, allowing it to be run on Windows, Mac, and Linux.', 'The process of converting source code to object code is called compilation, which checks for syntactical and semantic errors. Compilation involves checking for syntactical and semantic errors in the source code and converting it into object code.', 'The linking process involves converting the object code into an executable code file and adding any additional libraries if needed. Linking converts the object code into an executable file and allows for the addition of new features or libraries.', "The pre-processor directive '#include stdo.h' is used to load libraries and invoke inbuilt functions for a C program. The pre-processor directive '#include stdo.h' is used to load libraries and invoke inbuilt functions for a C program."]}], 'duration': 305.551, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w589.jpg', 'highlights': ['Great Learning Academy offers over 80 courses freely available with certification.', 'The session agenda includes covering topics like C language, basics, conditional statements, arrays, functions, and unions.', 'C language was introduced by Dennis Ritchie and is a procedural language, following a top-down approach.', 'C is a platform independent programming language that can run on any operating system.', 'The process of converting source code to object code is called compilation, which checks for syntactical and semantic errors.', 'The linking process involves converting the object code into an executable code file and adding any additional libraries if needed.', "The pre-processor directive '#include stdo.h' is used to load libraries and invoke inbuilt functions for a C program."]}, {'end': 701.017, 'segs': [{'end': 350.635, 'src': 'embed', 'start': 306.34, 'weight': 0, 'content': [{'end': 310.861, 'text': 'And this library is standardinputoutput.headerfile.', 'start': 306.34, 'duration': 4.521}, {'end': 314.922, 'text': 'So, I have loaded this standardinputoutput.headerfile like this.', 'start': 311.241, 'duration': 3.681}, {'end': 321.964, 'text': 'After this, whatever code you write, you will write it under the main function.', 'start': 314.942, 'duration': 7.022}, {'end': 324.285, 'text': 'So, suppose our brain does the complete processing.', 'start': 321.984, 'duration': 2.301}, {'end': 330.647, 'text': 'Similarly, the entire execution of a C language program is under the main function.', 'start': 324.305, 'duration': 6.342}, {'end': 337.029, 'text': 'So, the execution of the program starts in the main and ends on the main.', 'start': 331.767, 'duration': 5.262}, {'end': 339.39, 'text': 'And there are some basic features of the function.', 'start': 337.149, 'duration': 2.241}, {'end': 342.091, 'text': 'First of all, the name of the function is given here.', 'start': 339.41, 'duration': 2.681}, {'end': 344.152, 'text': 'And every function has a return type.', 'start': 342.211, 'duration': 1.941}, {'end': 346.993, 'text': 'So, here we have given the return type of the main function as void.', 'start': 344.212, 'duration': 2.781}, {'end': 350.635, 'text': 'So, void means that we are not returning anything for the moment.', 'start': 347.053, 'duration': 3.582}], 'summary': 'The c language program is executed under the main function, with the return type of the main function being void.', 'duration': 44.295, 'max_score': 306.34, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w306340.jpg'}, {'end': 456.191, 'src': 'embed', 'start': 428.466, 'weight': 1, 'content': [{'end': 433.45, 'text': 'Dev C++ is a compiler so I can execute both C program and C++ program in it.', 'start': 428.466, 'duration': 4.984}, {'end': 435.772, 'text': 'So first of all we have to load the library.', 'start': 433.491, 'duration': 2.281}, {'end': 451.807, 'text': 'Here I write hash include and the name of the library is stdio.h So its full form is standard input output dot header file.', 'start': 436.213, 'duration': 15.594}, {'end': 456.191, 'text': 'I have included this header file and this is pre processor directive.', 'start': 452.427, 'duration': 3.764}], 'summary': 'Dev c++ compiler supports c and c++ programs, requires stdio.h library for standard input/output.', 'duration': 27.725, 'max_score': 428.466, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w428466.jpg'}], 'start': 306.34, 'title': 'C main function and dev c++ basics', 'summary': 'Explains the significance of the main function in a c language program, emphasizing its role in program execution and the use of void as the return type. it also covers the basics of c++ programming, including using dev c++ as a compiler, loading libraries, creating main functions, using printf function to display a string, and adding single line and multi line comments to the code.', 'chapters': [{'end': 426.306, 'start': 306.34, 'title': 'Understanding the main function in c', 'summary': 'Explains the significance of the main function in a c language program, emphasizing its role in program execution and the use of void as the return type, while also highlighting the procedural nature of c and the use of functions like printf and getch.', 'duration': 119.966, 'highlights': ['The main function is the most important part of a C language program as it is where the execution of the program starts and ends, and it dictates the complete processing of the code.', 'The return type of the main function is void, indicating that it does not return any value at the moment, with further exploration of the significance and exact nature of void to be covered in subsequent lessons.', "In the body of the main function, code is written line by line due to the procedural nature of C, and functions like printf are used to print on the screen, with an example of printing 'hello world' highlighted.", 'The getch function is used to wait for user input to prevent the program from immediately closing, providing a demonstration of its functionality to the learner.']}, {'end': 701.017, 'start': 428.466, 'title': 'Dev c++ basics', 'summary': 'Covers the basics of c++ programming, including using dev c++ as a compiler, loading libraries, creating main functions, using printf function to display a string, and adding single line and multi line comments to the code.', 'duration': 272.551, 'highlights': ['Dev C++ is a compiler for executing C and C++ programs. Dev C++ allows the execution of both C and C++ programs, providing a versatile platform for programming.', 'Loading libraries using pre-processor directive hash include and including stdio.h for standard input output. The process of loading libraries using pre-processor directive and including stdio.h for standard input output is explained, forming the foundation for program development.', 'Creating main function with return type void and using printf function to display a string. The creation of the main function with a return type of void and the usage of printf function to display a string on the screen are demonstrated.', 'Explanation of single line and multi line comments, and their importance in understanding and documenting code. The importance of single line and multi line comments in understanding and documenting code, particularly in large-scale projects, is emphasized.']}], 'duration': 394.677, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w306340.jpg', 'highlights': ['The main function is the most important part of a C language program as it is where the execution of the program starts and ends, and it dictates the complete processing of the code.', 'Dev C++ is a compiler for executing C and C++ programs. Dev C++ allows the execution of both C and C++ programs, providing a versatile platform for programming.', 'The return type of the main function is void, indicating that it does not return any value at the moment, with further exploration of the significance and exact nature of void to be covered in subsequent lessons.', 'Loading libraries using pre-processor directive hash include and including stdio.h for standard input output. The process of loading libraries using pre-processor directive and including stdio.h for standard input output is explained, forming the foundation for program development.']}, {'end': 1647.601, 'segs': [{'end': 783.62, 'src': 'embed', 'start': 754.597, 'weight': 2, 'content': [{'end': 757.68, 'text': 'There are different types of tokens.', 'start': 754.597, 'duration': 3.083}, {'end': 760.021, 'text': 'For example, different types of water.', 'start': 757.74, 'duration': 2.281}, {'end': 766.286, 'text': 'For example, salted water, sugary water.', 'start': 763.664, 'duration': 2.622}, {'end': 768.448, 'text': "So, let's assume that you have different types of tokens.", 'start': 766.346, 'duration': 2.102}, {'end': 771.45, 'text': "So, first of all, let's understand what are the identifiers.", 'start': 768.468, 'duration': 2.982}, {'end': 775.133, 'text': 'So identifiers in C program.', 'start': 771.47, 'duration': 3.663}, {'end': 783.62, 'text': 'if you write anything, if you make a variable or a function, or if you make a class or anything, then it will have some name.', 'start': 775.133, 'duration': 8.487}], 'summary': 'Different types of tokens and identifiers in c program explained.', 'duration': 29.023, 'max_score': 754.597, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w754597.jpg'}, {'end': 923.033, 'src': 'embed', 'start': 896.922, 'weight': 3, 'content': [{'end': 901.707, 'text': 'In our old program, we saw that hash includes stdio.h.', 'start': 896.922, 'duration': 4.785}, {'end': 907.852, 'text': 'We are telling the compiler that hash is a preprocessor directive.', 'start': 901.727, 'duration': 6.125}, {'end': 912.478, 'text': 'So this is some basic understanding of different types of tokens.', 'start': 908.513, 'duration': 3.965}, {'end': 915.282, 'text': "So now let's understand what are the variables.", 'start': 912.519, 'duration': 2.763}, {'end': 920.85, 'text': 'So variables are memory references whose value changes during execution.', 'start': 915.683, 'duration': 5.167}, {'end': 923.033, 'text': 'This is a little complicated definition.', 'start': 921.331, 'duration': 1.702}], 'summary': 'Introduction to tokens and variables in programming.', 'duration': 26.111, 'max_score': 896.922, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w896922.jpg'}, {'end': 1187.752, 'src': 'embed', 'start': 1159.651, 'weight': 1, 'content': [{'end': 1161.733, 'text': 'Initially, the value was 10.', 'start': 1159.651, 'duration': 2.082}, {'end': 1164.395, 'text': 'Now, I will change it to 20.', 'start': 1161.733, 'duration': 2.662}, {'end': 1166.697, 'text': "Let's execute it and see the result.", 'start': 1164.395, 'duration': 2.302}, {'end': 1168.018, 'text': 'Initially, it was 10.', 'start': 1166.797, 'duration': 1.221}, {'end': 1168.879, 'text': 'Now, it has changed to 20.', 'start': 1168.018, 'duration': 0.861}, {'end': 1170.38, 'text': 'Similarly, I can change it to 30.', 'start': 1168.879, 'duration': 1.501}, {'end': 1171.161, 'text': "Let's see the result.", 'start': 1170.38, 'duration': 0.781}, {'end': 1180.623, 'text': 'So again we have made it 30.', 'start': 1178.2, 'duration': 2.423}, {'end': 1182.045, 'text': 'And this is how variables work.', 'start': 1180.623, 'duration': 1.422}, {'end': 1184.067, 'text': 'Because these are temporary storage spaces.', 'start': 1182.065, 'duration': 2.002}, {'end': 1186.39, 'text': "That's why I initially stored 10 in it.", 'start': 1184.087, 'duration': 2.303}, {'end': 1187.752, 'text': 'Then I replaced 10 with 20.', 'start': 1186.45, 'duration': 1.302}], 'summary': 'Variable value changed from 10 to 20 and then to 30, demonstrating temporary storage.', 'duration': 28.101, 'max_score': 1159.651, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w1159651.jpg'}, {'end': 1397.709, 'src': 'embed', 'start': 1369.837, 'weight': 0, 'content': [{'end': 1375.901, 'text': 'So in this way we can add an integer type variable and a double type variable.', 'start': 1369.837, 'duration': 6.064}, {'end': 1382.284, 'text': 'After that, we have different functions for input, type, and output.', 'start': 1377.782, 'duration': 4.502}, {'end': 1390.326, 'text': 'If we want to print something on the console, we can use the printf function which we are still using.', 'start': 1382.344, 'duration': 7.982}, {'end': 1397.709, 'text': 'And if we want to take an input from the user, we can use scanf.', 'start': 1390.806, 'duration': 6.903}], 'summary': 'Covered integer and double variable addition, input and output functions.', 'duration': 27.872, 'max_score': 1369.837, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w1369837.jpg'}, {'end': 1440.009, 'src': 'heatmap', 'start': 1369.837, 'weight': 1, 'content': [{'end': 1375.901, 'text': 'So in this way we can add an integer type variable and a double type variable.', 'start': 1369.837, 'duration': 6.064}, {'end': 1382.284, 'text': 'After that, we have different functions for input, type, and output.', 'start': 1377.782, 'duration': 4.502}, {'end': 1390.326, 'text': 'If we want to print something on the console, we can use the printf function which we are still using.', 'start': 1382.344, 'duration': 7.982}, {'end': 1397.709, 'text': 'And if we want to take an input from the user, we can use scanf.', 'start': 1390.806, 'duration': 6.903}, {'end': 1403.071, 'text': 'And if I want to take a character input from the user, I can use getchar and putchar.', 'start': 1397.769, 'duration': 5.302}, {'end': 1409.395, 'text': 'Similarly, if I want to take a string from a user, I can use getS and putS.', 'start': 1404.591, 'duration': 4.804}, {'end': 1416.222, 'text': 'So getS is used to take a string from a user and putS is used to show a string on the console.', 'start': 1409.556, 'duration': 6.666}, {'end': 1419.785, 'text': 'So these are all different types of input and output functions.', 'start': 1416.242, 'duration': 3.543}, {'end': 1421.606, 'text': 'And then these are format strings.', 'start': 1420.225, 'duration': 1.381}, {'end': 1426.737, 'text': 'So, we have seen format strings %d and %lf till now.', 'start': 1422.574, 'duration': 4.163}, {'end': 1429.72, 'text': 'And as written here, this informs the scanf function.', 'start': 1426.758, 'duration': 2.962}, {'end': 1432.602, 'text': 'This works for both scanf and printf basically.', 'start': 1430.14, 'duration': 2.462}, {'end': 1440.009, 'text': 'What type of input to expect and in printf it is used to give a heads up to the compiler what type of output to the expect.', 'start': 1432.662, 'duration': 7.347}], 'summary': 'Learned about input/output functions, including printf, scanf, getchar, putchar, gets, puts, format strings, and their usage for different types of input/output.', 'duration': 70.172, 'max_score': 1369.837, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w1369837.jpg'}, {'end': 1465.126, 'src': 'embed', 'start': 1422.574, 'weight': 4, 'content': [{'end': 1426.737, 'text': 'So, we have seen format strings %d and %lf till now.', 'start': 1422.574, 'duration': 4.163}, {'end': 1429.72, 'text': 'And as written here, this informs the scanf function.', 'start': 1426.758, 'duration': 2.962}, {'end': 1432.602, 'text': 'This works for both scanf and printf basically.', 'start': 1430.14, 'duration': 2.462}, {'end': 1440.009, 'text': 'What type of input to expect and in printf it is used to give a heads up to the compiler what type of output to the expect.', 'start': 1432.662, 'duration': 7.347}, {'end': 1447.614, 'text': '%d is an integer type variable, %f is a floating type variable, %c is a character type variable and %s is a string type variable.', 'start': 1440.649, 'duration': 6.965}, {'end': 1465.126, 'text': 'So these are the basic things of format strings.', 'start': 1461.064, 'duration': 4.062}], 'summary': 'Format strings include %d, %lf for scanf and printf, specifying input type and output type such as integer, floating, character, and string.', 'duration': 42.552, 'max_score': 1422.574, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w1422574.jpg'}], 'start': 701.137, 'title': 'C programming fundamentals', 'summary': 'Covers c program tokens, identifiers, keywords, and operators, emphasizing their importance. it also explains variables, data types, input/output functions, and format strings, with demonstrations of their usage.', 'chapters': [{'end': 896.762, 'start': 701.137, 'title': 'C program tokens and identifiers', 'summary': 'Discusses c program tokens, including identifiers, keywords, constants, strings, and operators, and the concept of unique naming and reserved words, highlighting the importance of tokens as the smallest individual units in a program.', 'duration': 195.625, 'highlights': ['Tokens are the smallest individual units in a program, and the chapter explains identifiers, keywords, constants, strings, and operators as different types of tokens, emphasizing the concept of unique naming and reserved words. ', 'Identifiers are names given to variables, functions, or any other elements in a C program, and they can be duplicated, similar to the concept of students in a class having unique names. Concept of unique naming', "Keywords are reserved words specific to the C language, such as 'true', 'false', or 'main', and cannot be used as identifiers. Reserved words like 'true', 'false', and 'main'", 'Constants are values that do not change, and they can be stored in temporary storage space known as variables. Concept of constants and variables', "Strings are sequences of characters, such as 'Rajat', consisting of individual characters that form a string. Definition and example of strings", 'Operators in C language are used for different types of operations, including arithmetic, relational, and logical operations. Explanation of different types of operators']}, {'end': 1274.821, 'start': 896.922, 'title': 'Understanding variables in programming', 'summary': 'Explains the basic concepts of variables in programming, including memory references, data storage, data types, initialization, assignment, and printing, with a demonstration of declaring, initializing, changing, and using integer and double type variables.', 'duration': 377.899, 'highlights': ['Variables are memory references whose value changes during execution. Explains the basic concept of variables in programming.', 'Demonstrates the process of declaring, initializing, and printing an integer type variable with the value 10. Provides a practical example of declaring, initializing, and printing an integer variable.', 'Illustrates the process of changing the value of the integer variable from 10 to 20 to 30 and printing the results. Demonstrates the capability of variables as temporary storage spaces by changing and printing the value of an integer variable.', 'Explains the process of declaring and initializing an integer variable and a double type variable, adding their values, and printing the result. Provides an example of declaring, initializing, and adding an integer and a double type variable, illustrating the data types and the process of printing the result.']}, {'end': 1647.601, 'start': 1274.821, 'title': 'Data types and input/output functions', 'summary': 'Covers the basics of data types, input/output functions, and format strings, including examples of integer and double data types, input/output functions like printf and scanf, and an explanation of primitive and derived data types.', 'duration': 372.78, 'highlights': ['The chapter covers the basics of data types, input/output functions, and format strings, including examples of integer and double data types, input/output functions like printf and scanf, and an explanation of primitive and derived data types. The chapter provides an overview of data types, input/output functions, and format strings, discussing integer and double data types, input/output functions such as printf and scanf, as well as explanations of primitive and derived data types.', 'Explanation of format strings such as %d, %lf, %c, and %s for specifying the type of input and output in scanf and printf functions. The transcript explains format strings like %d, %lf, %c, and %s used in scanf and printf functions to specify the type of input and output.', 'Description of primitive data types including boolean, character, integer, floating point, double, and void, with explanations of their respective meanings and allowed values. The transcript details primitive data types like boolean, character, integer, floating point, double, and void, explaining their meanings and allowed values.', 'Overview of derived data types focusing on arrays, illustrating the convenience of using arrays to store data, and avoiding the need for creating numerous individual variables. The chapter provides an overview of derived data types, particularly arrays, emphasizing the convenience of using arrays to store data and avoiding the need for creating numerous individual variables.']}], 'duration': 946.464, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w701137.jpg', 'highlights': ['The chapter covers the basics of data types, input/output functions, and format strings, including examples of integer and double data types, input/output functions like printf and scanf, and an explanation of primitive and derived data types.', 'Illustrates the process of changing the value of the integer variable from 10 to 20 to 30 and printing the results. Demonstrates the capability of variables as temporary storage spaces by changing and printing the value of an integer variable.', 'Tokens are the smallest individual units in a program, and the chapter explains identifiers, keywords, constants, strings, and operators as different types of tokens, emphasizing the concept of unique naming and reserved words.', 'Variables are memory references whose value changes during execution. Explains the basic concept of variables in programming.', 'Explanation of format strings such as %d, %lf, %c, and %s for specifying the type of input and output in scanf and printf functions. The transcript explains format strings like %d, %lf, %c, and %s used in scanf and printf functions to specify the type of input and output.']}, {'end': 2582.063, 'segs': [{'end': 1679.897, 'src': 'embed', 'start': 1647.721, 'weight': 0, 'content': [{'end': 1655.766, 'text': 'So here I write hash include stdo.h Then I have to create the main function.', 'start': 1647.721, 'duration': 8.045}, {'end': 1657.046, 'text': 'So I will write void main.', 'start': 1655.806, 'duration': 1.24}, {'end': 1663.173, 'text': 'First of all, I will create an integer variable in it.', 'start': 1659.232, 'duration': 3.941}, {'end': 1670.375, 'text': 'This is the data type integer, so I will have to write int for integer and int a.', 'start': 1663.193, 'duration': 7.182}, {'end': 1672.255, 'text': 'I am storing 10 here.', 'start': 1670.375, 'duration': 1.88}, {'end': 1673.916, 'text': 'Now I will print it here.', 'start': 1672.275, 'duration': 1.641}, {'end': 1676.216, 'text': 'Print f.', 'start': 1674.316, 'duration': 1.9}, {'end': 1679.897, 'text': 'Here I will have to write %d because this is of integer type.', 'start': 1676.216, 'duration': 3.681}], 'summary': 'Using c language to create a main function, declare and store integer variable, and print its value using printf', 'duration': 32.176, 'max_score': 1647.721, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w1647721.jpg'}, {'end': 1740.045, 'src': 'embed', 'start': 1704.953, 'weight': 1, 'content': [{'end': 1709.855, 'text': 'So, we have successfully created an integer type of data and printed it.', 'start': 1704.953, 'duration': 4.902}, {'end': 1713.029, 'text': 'Now we will see floating point.', 'start': 1712.028, 'duration': 1.001}, {'end': 1715.772, 'text': 'As I told you that we have decimal in floating point.', 'start': 1713.109, 'duration': 2.663}, {'end': 1722.138, 'text': 'So here I will write float a and I will make it 10.45 and I will make it %f and here it will be a.', 'start': 1715.812, 'duration': 6.326}, {'end': 1726.102, 'text': 'So %f is for float and here again get ch and I will wait after compiling.', 'start': 1722.138, 'duration': 3.964}, {'end': 1740.045, 'text': 'We have successfully printed the floating point.', 'start': 1737.782, 'duration': 2.263}], 'summary': 'Successfully created and printed integer and floating point data types.', 'duration': 35.092, 'max_score': 1704.953, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w1704953.jpg'}, {'end': 1938.839, 'src': 'embed', 'start': 1904.656, 'weight': 2, 'content': [{'end': 1912.724, 'text': 'With arithmetic operators, we can do basic arithmetic operations like addition, subtraction, multiplication, division.', 'start': 1904.656, 'duration': 8.068}, {'end': 1915.847, 'text': 'We can do all these operations with normal type of operators.', 'start': 1913.064, 'duration': 2.783}, {'end': 1920.169, 'text': 'We have two types of arithmetic operators.', 'start': 1917.348, 'duration': 2.821}, {'end': 1925.252, 'text': 'One is unary operator and the other is binary operator.', 'start': 1920.209, 'duration': 5.043}, {'end': 1929.634, 'text': 'With unary operators, we increment or decrement a single operand.', 'start': 1925.272, 'duration': 4.362}, {'end': 1938.839, 'text': 'Suppose a single operand is A and I store 5 in A.', 'start': 1932.755, 'duration': 6.084}], 'summary': 'Arithmetic operators enable basic operations like addition, subtraction, multiplication, and division. there are two types: unary and binary operators.', 'duration': 34.183, 'max_score': 1904.656, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w1904656.jpg'}, {'end': 2121.389, 'src': 'heatmap', 'start': 2059.491, 'weight': 0.74, 'content': [{'end': 2063.931, 'text': "If any of the operand's result is false, then the final result is false.", 'start': 2059.491, 'duration': 4.44}, {'end': 2072.534, 'text': "If we talk about OR operator, then in OR, if any of the operand's result is true, then the final result is true.", 'start': 2064.053, 'duration': 8.481}, {'end': 2076.897, 'text': 'If we talk about NOT, then NOT gives the exact opposite of the result.', 'start': 2072.614, 'duration': 4.283}, {'end': 2082.118, 'text': 'If it is true, then if NOT is true, it will give us false.', 'start': 2076.917, 'duration': 5.201}, {'end': 2085.099, 'text': 'If it is false, then if NOT is false, it will give us true.', 'start': 2082.237, 'duration': 2.862}, {'end': 2089.409, 'text': 'This is how we can work with logical operators.', 'start': 2087.246, 'duration': 2.163}, {'end': 2094.195, 'text': 'Then we have bitwise operators and assignment operators.', 'start': 2089.69, 'duration': 4.505}, {'end': 2098.82, 'text': 'As you can see in the name, we can make changes at the bit level.', 'start': 2095.076, 'duration': 3.744}, {'end': 2106.785, 'text': 'So, we can perform addition, subtraction, multiplication at the bit level.', 'start': 2102.404, 'duration': 4.381}, {'end': 2109.306, 'text': 'Finally, we have Assignment Operators.', 'start': 2107.365, 'duration': 1.941}, {'end': 2114.167, 'text': 'With Assignment Operators, we can assign a value to a variable.', 'start': 2109.326, 'duration': 4.841}, {'end': 2117.168, 'text': 'Let me show you some examples of these Operators.', 'start': 2114.187, 'duration': 2.981}, {'end': 2121.389, 'text': 'First of all, I work with Addition Operators.', 'start': 2117.208, 'duration': 4.181}], 'summary': 'Logical operators produce true or false results. bitwise operators perform operations at the bit level. assignment operators assign values to variables.', 'duration': 61.898, 'max_score': 2059.491, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w2059491.jpg'}, {'end': 2582.063, 'src': 'embed', 'start': 2550.337, 'weight': 4, 'content': [{'end': 2551.917, 'text': 'Here I do A and B.', 'start': 2550.337, 'duration': 1.58}, {'end': 2553.738, 'text': 'So, I am checking true and false now.', 'start': 2551.917, 'duration': 1.821}, {'end': 2559.018, 'text': 'True or false, I get true because one operand is true.', 'start': 2555.316, 'duration': 3.702}, {'end': 2564.561, 'text': 'Again, I am checking false or true.', 'start': 2559.498, 'duration': 5.063}, {'end': 2567.602, 'text': 'False or true, I get true again.', 'start': 2565.201, 'duration': 2.401}, {'end': 2571.484, 'text': 'Finally, we have A or A which is obviously true.', 'start': 2567.682, 'duration': 3.802}, {'end': 2573.785, 'text': 'If it is true with AND operator, then it will be true with OR.', 'start': 2571.544, 'duration': 2.241}, {'end': 2574.586, 'text': 'So, A or A is obviously true.', 'start': 2573.805, 'duration': 0.781}, {'end': 2582.063, 'text': 'These are our logical operators.', 'start': 2580.643, 'duration': 1.42}], 'summary': 'Logical operations result in true for a and b, true and false, false or true, and a or a.', 'duration': 31.726, 'max_score': 2550.337, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w2550337.jpg'}], 'start': 1647.721, 'title': 'C programming basics, data types, and operators', 'summary': 'Covers basics of c programming, including variables and printf, introduces data types such as integer, float, double, character, and boolean, and explains 5 types of operators: arithmetic, unary, binary, relational, logical, and bitwise, along with their usage and examples.', 'chapters': [{'end': 1704.913, 'start': 1647.721, 'title': 'C programming basics', 'summary': 'Covers the basics of c programming, including declaring and initializing variables, using printf to display integer values, and understanding the void data type.', 'duration': 57.192, 'highlights': ['The chapter covers the basics of C programming, including declaring and initializing variables, using printf to display integer values, and understanding the void data type.', "Declaring and initializing variables in C, such as creating an integer variable 'a' and initializing it with the value 10.", 'Using the printf function in C to display integer values using the %d format specifier.', 'Understanding the void data type in C, which indicates that a function does not return a value.']}, {'end': 2106.785, 'start': 1704.953, 'title': 'Introduction to data types and operators', 'summary': 'Introduces different data types including integer, float, double, character, and boolean, along with their respective formatting and printing methods. it also covers the 5 types of operators supported by c: arithmetic, unary, binary, relational, logical, and bitwise operators.', 'duration': 401.832, 'highlights': ['Covers different data types including integer, float, double, character, and boolean The chapter introduces different data types including integer, float, double, character, and boolean, along with their respective formatting and printing methods.', 'Discusses the 5 types of operators supported by C: arithmetic, unary, binary, relational, logical, and bitwise operators The chapter covers the 5 types of operators supported by C: arithmetic, unary, binary, relational, logical, and bitwise operators.', 'Explains the formatting and printing methods for different data types including integer, float, double, character, and boolean The chapter explains the formatting and printing methods for different data types including integer, float, double, character, and boolean.']}, {'end': 2582.063, 'start': 2107.365, 'title': 'Operators and their usage', 'summary': 'Covers the usage of assignment, arithmetic, relational, and logical operators in c programming, with examples demonstrating addition, subtraction, multiplication, division, comparison, and logical operations, highlighting key points and results.', 'duration': 474.698, 'highlights': ['The chapter demonstrates the usage of arithmetic operators with examples of addition, subtraction, multiplication, and division, showcasing results such as addition of A and B is 30 and multiplication of A and B is 200.', 'The usage of relational operators is illustrated through examples comparing values of variables A and B, providing results such as A is greater than B resulting in 0, B is greater than A resulting in 1, and B is not equal to A resulting in 1.', 'The application of logical operators, AND and OR, is detailed with examples showcasing the results of logical operations between boolean values, such as A and B resulting in 0, B and A resulting in 0, A and A resulting in 1, B and B resulting in 0, false or false resulting in 0, true or false resulting in 1, and true or true resulting in 1.']}], 'duration': 934.342, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w1647721.jpg', 'highlights': ['Covers basics of C programming, including declaring and initializing variables, using printf to display integer values, and understanding the void data type.', 'Explains the formatting and printing methods for different data types including integer, float, double, character, and boolean.', 'The chapter covers the 5 types of operators supported by C: arithmetic, unary, binary, relational, logical, and bitwise operators.', 'The chapter demonstrates the usage of arithmetic operators with examples of addition, subtraction, multiplication, and division, showcasing results such as addition of A and B is 30 and multiplication of A and B is 200.', 'The application of logical operators, AND and OR, is detailed with examples showcasing the results of logical operations between boolean values, such as A and B resulting in 0, B and A resulting in 0, A and A resulting in 1, B and B resulting in 0, false or false resulting in 0, true or false resulting in 1, and true or true resulting in 1.']}, {'end': 3241.138, 'segs': [{'end': 2741.78, 'src': 'embed', 'start': 2685.384, 'weight': 0, 'content': [{'end': 2692.586, 'text': 'Similarly, if I want to know the float, then I have to pass the size of float as %ld.', 'start': 2685.384, 'duration': 7.202}, {'end': 2693.766, 'text': 'here I have to pass b.', 'start': 2692.586, 'duration': 1.18}, {'end': 2698.448, 'text': 'So, the place of a is b because we have stored the float in b.', 'start': 2693.766, 'duration': 4.682}, {'end': 2700.228, 'text': 'Now, we will run it in compile and run.', 'start': 2698.448, 'duration': 1.78}, {'end': 2706.17, 'text': 'So, here we are getting an error, here I have to give another closing bracket.', 'start': 2700.248, 'duration': 5.922}, {'end': 2711.143, 'text': 'So here size of float is also 4 bytes.', 'start': 2708.541, 'duration': 2.602}, {'end': 2713.325, 'text': 'So integer and float both are 4 bytes.', 'start': 2711.183, 'duration': 2.142}, {'end': 2715.367, 'text': 'After this we will see the character.', 'start': 2713.425, 'duration': 1.942}, {'end': 2723.193, 'text': 'So here size of I will pass C in it because we have stored the character in C.', 'start': 2715.667, 'duration': 7.526}, {'end': 2724.474, 'text': 'And we get 1 from this.', 'start': 2723.193, 'duration': 1.281}, {'end': 2727.837, 'text': 'So integer and float is 4 and character is 1 byte.', 'start': 2724.674, 'duration': 3.163}, {'end': 2729.218, 'text': 'Now we will check double.', 'start': 2727.857, 'duration': 1.361}, {'end': 2729.958, 'text': 'So I will pass D in it.', 'start': 2729.238, 'duration': 0.72}, {'end': 2736.196, 'text': 'And compile and run gives us 8 bytes.', 'start': 2733.795, 'duration': 2.401}, {'end': 2741.78, 'text': 'So we can clearly see that double size is the highest and character size is the lowest.', 'start': 2736.216, 'duration': 5.564}], 'summary': 'Int: 4 bytes, float: 4 bytes, char: 1 byte, double: 8 bytes', 'duration': 56.396, 'max_score': 2685.384, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w2685384.jpg'}, {'end': 2804.214, 'src': 'embed', 'start': 2771.768, 'weight': 3, 'content': [{'end': 2776.034, 'text': 'When you combine these two, you get this set of words, great learning.', 'start': 2771.768, 'duration': 4.266}, {'end': 2783.023, 'text': 'If you want to work with string then you have to load this string.h library.', 'start': 2776.92, 'duration': 6.103}, {'end': 2786.565, 'text': 'This string.h provides you different functions.', 'start': 2783.463, 'duration': 3.102}, {'end': 2787.846, 'text': 'First of all, you have strlen.', 'start': 2786.625, 'duration': 1.221}, {'end': 2790.507, 'text': 'From strlen, we can find out the length of any string.', 'start': 2787.866, 'duration': 2.641}, {'end': 2791.248, 'text': 'Then we have strcpy.', 'start': 2790.527, 'duration': 0.721}, {'end': 2794.049, 'text': 'From strcpy, we can copy a string to another string.', 'start': 2791.288, 'duration': 2.761}, {'end': 2804.214, 'text': 'Next, we have strcat.', 'start': 2803.373, 'duration': 0.841}], 'summary': 'The string.h library provides functions like strlen, strcpy, and strcat for working with strings.', 'duration': 32.446, 'max_score': 2771.768, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w2771768.jpg'}, {'end': 3205.218, 'src': 'embed', 'start': 3172.819, 'weight': 4, 'content': [{'end': 3175.363, 'text': "Learning Let's see the result.", 'start': 3172.819, 'duration': 2.544}, {'end': 3178.564, 'text': 'First of all, we were finding the length.', 'start': 3175.663, 'duration': 2.901}, {'end': 3180.605, 'text': 'Length of string is %d.', 'start': 3178.924, 'duration': 1.681}, {'end': 3182.525, 'text': 'Length of S1.', 'start': 3181.165, 'duration': 1.36}, {'end': 3184.346, 'text': "Let's count the characters.", 'start': 3182.906, 'duration': 1.44}, {'end': 3186.886, 'text': '1, 2, 3, 4, 5.', 'start': 3184.526, 'duration': 2.36}, {'end': 3189.588, 'text': 'Length of string is 5.', 'start': 3186.887, 'duration': 2.701}, {'end': 3191.569, 'text': 'Concatenation of two strings.', 'start': 3189.588, 'duration': 1.981}, {'end': 3194.97, 'text': 'We are concatenating grade and learning.', 'start': 3192.029, 'duration': 2.941}, {'end': 3197.792, 'text': 'Concatenation of two strings is grade learning.', 'start': 3195.591, 'duration': 2.201}, {'end': 3201.615, 'text': 'After this, we were converting S1 to lower case.', 'start': 3198.792, 'duration': 2.823}, {'end': 3205.218, 'text': 'So, lower case is being printed here.', 'start': 3201.795, 'duration': 3.423}], 'summary': 'Finding length, concatenating strings, and converting to lower case.', 'duration': 32.399, 'max_score': 3172.819, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w3172819.jpg'}], 'start': 2582.083, 'title': 'Data type size comparison and working with strings in c', 'summary': 'Covers the comparison of data type sizes, revealing that integer and float are 4 bytes, character is 1 byte, and double is 8 bytes. it also delves into working with strings in c, including functions like strlen, strcpy, strcat, strcmp, strlwr, and strupr, and demonstrates their usage through examples of finding string length, concatenating strings, converting to lowercase and uppercase.', 'chapters': [{'end': 2741.78, 'start': 2582.083, 'title': 'Data type size comparison', 'summary': 'Covers the comparison of data type sizes, revealing that integer and float are 4 bytes, character is 1 byte, and double is 8 bytes.', 'duration': 159.697, 'highlights': ['The size of double data type is 8 bytes, making it the largest among the analyzed data types.', 'The character data type is 1 byte in size, making it the smallest among the analyzed data types.', 'Both integer and float data types are 4 bytes in size, showcasing their equal size in this comparison.']}, {'end': 3241.138, 'start': 2743.186, 'title': 'Working with strings in c', 'summary': 'Covers working with strings in c, including functions like strlen, strcpy, strcat, strcmp, strlwr, and strupr, and demonstrates their usage through examples of finding string length, concatenating strings, converting to lowercase and uppercase.', 'duration': 497.952, 'highlights': ['The chapter introduces working with strings in C, providing insights into the usage of string.h library and functions like strlen, strcpy, strcat, strcmp, strlwr, and strupr.', 'The transcript explains the usage of various string functions with practical examples, such as finding the length of a string, concatenating two strings, and converting strings to lowercase and uppercase.', 'It demonstrates the practical usage of string functions by executing examples, including finding the length of a string, concatenating two strings, and converting strings to lowercase and uppercase.']}], 'duration': 659.055, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w2582083.jpg', 'highlights': ['The size of double data type is 8 bytes, making it the largest among the analyzed data types.', 'The character data type is 1 byte in size, making it the smallest among the analyzed data types.', 'Both integer and float data types are 4 bytes in size, showcasing their equal size in this comparison.', 'The chapter introduces working with strings in C, providing insights into the usage of string.h library and functions like strlen, strcpy, strcat, strcmp, strlwr, and strupr.', 'The transcript explains the usage of various string functions with practical examples, such as finding the length of a string, concatenating two strings, and converting strings to lowercase and uppercase.']}, {'end': 4216.841, 'segs': [{'end': 3294.68, 'src': 'embed', 'start': 3269.423, 'weight': 0, 'content': [{'end': 3275.432, 'text': 'You have to keep in mind that if you want to use any of these functions, you have to load this library, math.h.', 'start': 3269.423, 'duration': 6.009}, {'end': 3279.197, 'text': 'So you cannot work with any of these methods without loading the math.h library.', 'start': 3275.472, 'duration': 3.725}, {'end': 3289.776, 'text': 'For example, if I want to find the square root of something, you have written sqrt.', 'start': 3284.431, 'duration': 5.345}, {'end': 3291.778, 'text': 'In sqrt, a is passed, so you will get its square root.', 'start': 3289.856, 'duration': 1.922}, {'end': 3294.68, 'text': 'Then you have to find the power of someone.', 'start': 3291.818, 'duration': 2.862}], 'summary': 'To use math functions, load math.h library. eg: sqrt(a) for square root.', 'duration': 25.257, 'max_score': 3269.423, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w3269423.jpg'}, {'end': 3416.942, 'src': 'embed', 'start': 3383.504, 'weight': 1, 'content': [{'end': 3390.088, 'text': 'Here square root is 10 which is the correct answer because square root of 100 is 10.', 'start': 3383.504, 'duration': 6.584}, {'end': 3396.332, 'text': 'Similarly, if I want to find out the sign of 100, here I use the sign function, here I change it.', 'start': 3390.088, 'duration': 6.244}, {'end': 3409.821, 'text': 'then we will execute it So, the sign value of 100 is minus 0.50 something.', 'start': 3399.624, 'duration': 10.197}, {'end': 3412.782, 'text': "Similarly, let's look at the cost.", 'start': 3409.841, 'duration': 2.941}, {'end': 3414.782, 'text': 'I will write cost here.', 'start': 3412.842, 'duration': 1.94}, {'end': 3416.942, 'text': "Now, let's compile and run it.", 'start': 3414.802, 'duration': 2.14}], 'summary': 'Square root of 100 is 10 and sign of 100 is -0.50', 'duration': 33.438, 'max_score': 3383.504, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w3383504.jpg'}, {'end': 3574.872, 'src': 'embed', 'start': 3544.19, 'weight': 2, 'content': [{'end': 3547.153, 'text': 'We can take any decision with the name conditional statements.', 'start': 3544.19, 'duration': 2.963}, {'end': 3560.055, 'text': 'There will be many such situations in your life where you will have a dilemma, whether to do this or do something else.', 'start': 3553.067, 'duration': 6.988}, {'end': 3565.342, 'text': 'At that time, when a condition is imposed, you take a decision according to that condition.', 'start': 3560.115, 'duration': 5.227}, {'end': 3567.184, 'text': 'Let me give you some examples.', 'start': 3565.402, 'duration': 1.782}, {'end': 3569.266, 'text': 'Suppose it is raining heavily outside.', 'start': 3567.224, 'duration': 2.042}, {'end': 3574.872, 'text': 'and you feel like playing football.', 'start': 3571.949, 'duration': 2.923}], 'summary': 'Making decisions based on conditional statements in various life situations.', 'duration': 30.682, 'max_score': 3544.19, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w3544190.jpg'}, {'end': 4040.656, 'src': 'embed', 'start': 4013.69, 'weight': 3, 'content': [{'end': 4017.051, 'text': 'This switch case is a multi-way branching statement.', 'start': 4013.69, 'duration': 3.361}, {'end': 4020.492, 'text': 'We will not understand the theory of this.', 'start': 4017.071, 'duration': 3.421}, {'end': 4023.613, 'text': 'We will directly come to the code so that you can understand it easily.', 'start': 4020.512, 'duration': 3.101}, {'end': 4031.133, 'text': 'So, here we can check multiple conditions with switch case.', 'start': 4025.472, 'duration': 5.661}, {'end': 4033.174, 'text': 'So, here is an example.', 'start': 4031.754, 'duration': 1.42}, {'end': 4040.656, 'text': 'We have taken a variable E and we have stored this value 20 in that variable.', 'start': 4033.194, 'duration': 7.462}], 'summary': 'Switch case allows checking multiple conditions. example: variable e holds value 20.', 'duration': 26.966, 'max_score': 4013.69, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w4013690.jpg'}], 'start': 3242.754, 'title': 'Working with math functions in c', 'summary': 'Introduces the math.h library and its functions including sqrt, power, sign, absolute value, floor, and ceiling, emphasizing the importance of loading the math.h library. it also covers working with mathematical functions like square root, sign, and cos, as well as using boolean variables for updating status and conditional statements in c programming. furthermore, it introduces conditional statements in c, focusing on if and if-else statements, and illustrates their usage with real-life examples, including conditional syntax and nested if-else statements. additionally, it demonstrates the use of if-else and switch case statements to implement conditional logic and multi-way branching, covering examples of using if-else statements to compare variable values and the switch case statement to check multiple conditions.', 'chapters': [{'end': 3351, 'start': 3242.754, 'title': 'Working with math.h library', 'summary': 'Introduces the math.h library and its functions including sqrt, power, sign, absolute value, floor, and ceiling, emphasizing the importance of loading the math.h library to use these functions.', 'duration': 108.246, 'highlights': ['The math.h library provides different mathematical functions such as sqrt, power, sign, absolute value, floor, and ceiling, which require loading the library to be used.', 'The sqrt function can be used to find the square root of a given value.', 'The power function takes two parameters, with the second parameter indicating the exponent.', 'The sign function can be used to find out the sign of a given value.', 'The ABS function can be used to find the absolute value or mod value of something.', 'The floor and ceiling functions indicate the lower and upper limits of a value, with examples provided.']}, {'end': 3544.13, 'start': 3351.02, 'title': 'Working with mathematical functions and boolean in c', 'summary': 'Covers working with mathematical functions like square root, sign, and cost, as well as using boolean variables for updating status and conditional statements in c programming, providing examples and outcomes.', 'duration': 193.11, 'highlights': ['The chapter demonstrates using mathematical functions like square root, sign, and cost, providing examples and outcomes.', 'It also illustrates the usage of Boolean variables for updating status, showcasing examples of true and false outcomes.', 'The chapter further delves into working with conditional statements in C programming.']}, {'end': 3744.449, 'start': 3544.19, 'title': 'Conditional statements in c', 'summary': 'Introduces the concept of conditional statements in c, specifically focusing on if and if-else statements, and illustrates their usage with real-life examples, including conditional syntax and nested if-else statements.', 'duration': 200.259, 'highlights': ['Conditional statements in C are utilized to make decisions based on specified conditions, such as weather conditions affecting outdoor activities or exam scores determining rewards or consequences. The transcript discusses real-life examples to illustrate the use of conditional statements, such as making decisions based on weather conditions and exam scores.', 'The chapter explains the syntax and functionality of IF and IF-ELSE statements in C, emphasizing the execution of code based on the satisfaction of specified conditions. It presents the syntax and functionality of IF and IF-ELSE statements, highlighting the execution of code based on the fulfillment of conditions.', "The concept of nested IF-ELSE statements is introduced, allowing the inclusion of one IF condition inside another, expanding the decision-making capabilities of the program. The concept of nested IF-ELSE statements is introduced, enabling the inclusion of one IF condition inside another, thereby enhancing the program's decision-making capabilities."]}, {'end': 4216.841, 'start': 3744.469, 'title': 'Using if-else and switch case', 'summary': 'Demonstrates the use of if-else and switch case statements to implement conditional logic and multi-way branching. it covers examples of using if-else statements to compare variable values and the switch case statement to check multiple conditions.', 'duration': 472.372, 'highlights': ['The chapter demonstrates the use of if-else and switch case statements. It covers examples of using if-else statements to compare variable values and the switch case statement to check multiple conditions.', 'It covers examples of using if-else statements to compare variable values. It includes examples of using if-else statements to compare variables A and B, and handling conditions such as b being greater than a or a being greater than b.', 'The switch case statement is used to check multiple conditions. The example demonstrates the use of the switch case statement to check the value of variable E against different cases, including handling default case if none of the cases are true.']}], 'duration': 974.087, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w3242754.jpg', 'highlights': ['The math.h library provides different mathematical functions such as sqrt, power, sign, absolute value, floor, and ceiling, which require loading the library to be used.', 'The chapter demonstrates using mathematical functions like square root, sign, and cost, providing examples and outcomes.', 'Conditional statements in C are utilized to make decisions based on specified conditions, such as weather conditions affecting outdoor activities or exam scores determining rewards or consequences.', 'The chapter demonstrates the use of if-else and switch case statements. It covers examples of using if-else statements to compare variable values and the switch case statement to check multiple conditions.']}, {'end': 5038.741, 'segs': [{'end': 4264.111, 'src': 'embed', 'start': 4235.511, 'weight': 5, 'content': [{'end': 4239.253, 'text': 'So this was the example of switch case.', 'start': 4235.511, 'duration': 3.742}, {'end': 4240.934, 'text': 'After this we will understand loops.', 'start': 4239.373, 'duration': 1.561}, {'end': 4245.497, 'text': 'So with loops we can repeat any task.', 'start': 4241.114, 'duration': 4.383}, {'end': 4247.478, 'text': 'It has a classic example.', 'start': 4245.577, 'duration': 1.901}, {'end': 4250.18, 'text': 'So suppose you have to fill water in a bucket.', 'start': 4247.498, 'duration': 2.682}, {'end': 4256.383, 'text': 'So if you have to fill water in this bucket and you can fill that water only with a mug.', 'start': 4250.24, 'duration': 6.143}, {'end': 4260.707, 'text': 'Take water in a mug and put it in a bucket.', 'start': 4257.884, 'duration': 2.823}, {'end': 4264.111, 'text': 'Then you will check whether the bucket is filled or not.', 'start': 4260.867, 'duration': 3.244}], 'summary': 'Learning about switch case and loops for task repetition and example of filling a bucket with a mug.', 'duration': 28.6, 'max_score': 4235.511, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w4235511.jpg'}, {'end': 4323.038, 'src': 'embed', 'start': 4292.009, 'weight': 2, 'content': [{'end': 4295.412, 'text': 'In C, we have two important loops.', 'start': 4292.009, 'duration': 3.403}, {'end': 4299.416, 'text': 'One is for loop and the other is while loop.', 'start': 4295.492, 'duration': 3.924}, {'end': 4302.979, 'text': 'With these two loops, we can repeat many tasks.', 'start': 4299.456, 'duration': 3.523}, {'end': 4306.822, 'text': 'For loop syntax looks like this.', 'start': 4302.999, 'duration': 3.823}, {'end': 4308.884, 'text': 'You are doing three tasks in it.', 'start': 4306.862, 'duration': 2.022}, {'end': 4311.647, 'text': 'You are initializing one variable.', 'start': 4308.964, 'duration': 2.683}, {'end': 4314.589, 'text': 'Then you are checking a condition here.', 'start': 4311.667, 'duration': 2.922}, {'end': 4317.892, 'text': 'Then you are incrementing and decrementing this variable.', 'start': 4314.629, 'duration': 3.263}, {'end': 4323.038, 'text': 'So, you can do all three things in the for loop in this parenthesis.', 'start': 4319.053, 'duration': 3.985}], 'summary': 'In c, for and while loops enable task repetition, with for loop handling three tasks: initialization, condition checking, and variable increment/decrement.', 'duration': 31.029, 'max_score': 4292.009, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w4292009.jpg'}, {'end': 4746.161, 'src': 'embed', 'start': 4692.615, 'weight': 0, 'content': [{'end': 4698.78, 'text': 'If you create individual variables for every student, then it will be very difficult to remember all that.', 'start': 4692.615, 'duration': 6.165}, {'end': 4701.642, 'text': "So, that's why you can only create an array.", 'start': 4698.8, 'duration': 2.842}, {'end': 4710.928, 'text': 'Suppose you have 100 students, then to store the names of all those students, you will create an array and the size of that array will be 100.', 'start': 4701.662, 'duration': 9.266}, {'end': 4717.151, 'text': 'And in that 100 size character array, you can store the names of all the students.', 'start': 4710.928, 'duration': 6.223}, {'end': 4727.175, 'text': 'Similarly, if you want to score marks, then you will create an integer array and you will give the size of 100 and you will store all the marks in it.', 'start': 4717.631, 'duration': 9.544}, {'end': 4732.321, 'text': 'Array is single-dimensional and multi-dimensional.', 'start': 4729.216, 'duration': 3.105}, {'end': 4737.329, 'text': 'Single-dimensional means all the elements are present in one row.', 'start': 4732.341, 'duration': 4.988}, {'end': 4739.432, 'text': 'Multi-dimensional means rows and columns.', 'start': 4737.389, 'duration': 2.043}, {'end': 4741.515, 'text': 'As you can see 2x3 array is made here.', 'start': 4739.833, 'duration': 1.682}, {'end': 4746.161, 'text': 'Making an array is very simple.', 'start': 4744.56, 'duration': 1.601}], 'summary': "Using arrays simplifies storing data for multiple students and marks, e.g., 100 students' names can be stored in a 100-size character array.", 'duration': 53.546, 'max_score': 4692.615, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w4692615.jpg'}, {'end': 4891.956, 'src': 'embed', 'start': 4858.289, 'weight': 1, 'content': [{'end': 4866.574, 'text': 'So, how to print it? To print this, we will need a for loop.', 'start': 4858.289, 'duration': 8.285}, {'end': 4880.61, 'text': 'So for for loop, first of all I will set int i and here I will start for and this i is equal to 0 has been initialized and it will go till 10.', 'start': 4866.654, 'duration': 13.956}, {'end': 4885.032, 'text': 'And you have to remember that the index value of an array starts from 0.', 'start': 4880.61, 'duration': 4.422}, {'end': 4888.834, 'text': 'The first element will be present on index 0.', 'start': 4885.032, 'duration': 3.802}, {'end': 4891.956, 'text': 'The second element will be present on index 1.', 'start': 4888.834, 'duration': 3.122}], 'summary': 'Using a for loop to print array elements from index 0 to 10.', 'duration': 33.667, 'max_score': 4858.289, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w4858289.jpg'}, {'end': 5009.603, 'src': 'embed', 'start': 4972.564, 'weight': 4, 'content': [{'end': 4975.831, 'text': 'After storing the values, I have printed them with the for loop.', 'start': 4972.564, 'duration': 3.267}, {'end': 4979.854, 'text': 'This is an integer array.', 'start': 4978.834, 'duration': 1.02}, {'end': 4982.516, 'text': "Similarly, let's create a character array.", 'start': 4980.195, 'duration': 2.321}, {'end': 4987.718, 'text': "For the character array, I'll denote char with c and give its size as 5.", 'start': 4982.536, 'duration': 5.182}, {'end': 4990.099, 'text': "I'll give it equal to and pass some values in it.", 'start': 4987.718, 'duration': 2.381}, {'end': 4993.461, 'text': "The first value will be h, then e, then l, again l, and then I'll pass o.", 'start': 4990.119, 'duration': 3.342}, {'end': 5009.603, 'text': 'So I have created this character array and now, to print this,', 'start': 5004.417, 'duration': 5.186}], 'summary': 'Values stored in integer and character arrays printed using for loop.', 'duration': 37.039, 'max_score': 4972.564, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w4972564.jpg'}], 'start': 4216.841, 'title': 'C programming concepts', 'summary': 'Covers switch case, for loop, while loop, and arrays in c programming, with demonstrations and examples for efficient implementation, initialization, and printing using for loops.', 'chapters': [{'end': 4664.395, 'start': 4216.841, 'title': 'Switch case, loops, for loop, and while loop in c', 'summary': 'Covers the concepts of switch case, for loop, and while loop in c programming, demonstrating the functionality and implementation of these concepts with examples and explanations.', 'duration': 447.554, 'highlights': ['Explanation of for loop in C The speaker provides a detailed explanation of the for loop in C, demonstrating the initialization, condition checking, and incrementing process, with a clear example of printing values from 0 to 10.', 'Demonstration of while loop in C The transcript provides a clear demonstration of the while loop in C, showcasing the process of setting a condition, printing values, and incrementing the variable, illustrated with an example of printing values from 0 to 4.', 'Explanation of switch case in C The example of a switch case is briefly explained, indicating the process of checking different values and breaking out of the statement when a true condition is met.']}, {'end': 5038.741, 'start': 4664.395, 'title': 'Arrays in programming', 'summary': 'Explains the concept of arrays, highlighting the need for arrays to store multiple values efficiently and providing examples of single-dimensional and multi-dimensional arrays, with a demonstration of array initialization and printing using for loops.', 'duration': 374.346, 'highlights': ['The chapter explains the concept of arrays, emphasizing the need for arrays to efficiently store multiple values, as illustrated by the example of storing names and marks of 100 students, highlighting the impracticality of creating individual variables for each student.', 'Demonstration of single-dimensional and multi-dimensional arrays is provided, with clear explanations of their structure and usage, including the example of creating a 2-dimensional array with 10 rows and 10 columns.', 'The process of initializing arrays is detailed, including static initialization with values and the use of for loops for printing array elements, with a demonstration of initializing and printing both integer and character arrays.', 'The chapter provides a detailed demonstration of initializing and printing arrays, including the use of for loops to print array elements and the importance of understanding array index values starting from 0 for efficient manipulation and printing of array elements.']}], 'duration': 821.9, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w4216841.jpg', 'highlights': ['Demonstration of single-dimensional and multi-dimensional arrays is provided, with clear explanations of their structure and usage, including the example of creating a 2-dimensional array with 10 rows and 10 columns.', 'The chapter provides a detailed demonstration of initializing and printing arrays, including the use of for loops to print array elements and the importance of understanding array index values starting from 0 for efficient manipulation and printing of array elements.', 'Explanation of for loop in C The speaker provides a detailed explanation of the for loop in C, demonstrating the initialization, condition checking, and incrementing process, with a clear example of printing values from 0 to 10.', 'Demonstration of while loop in C The transcript provides a clear demonstration of the while loop in C, showcasing the process of setting a condition, printing values, and incrementing the variable, illustrated with an example of printing values from 0 to 4.', 'The process of initializing arrays is detailed, including static initialization with values and the use of for loops for printing array elements, with a demonstration of initializing and printing both integer and character arrays.', 'Explanation of switch case in C The example of a switch case is briefly explained, indicating the process of checking different values and breaking out of the statement when a true condition is met.', 'The chapter explains the concept of arrays, emphasizing the need for arrays to efficiently store multiple values, as illustrated by the example of storing names and marks of 100 students, highlighting the impracticality of creating individual variables for each student.']}, {'end': 6227.849, 'segs': [{'end': 5123.993, 'src': 'heatmap', 'start': 5051.694, 'weight': 0.79, 'content': [{'end': 5060.777, 'text': 'So in this way I have created a character array and I have also printed the values present in the character array.', 'start': 5051.694, 'duration': 9.083}, {'end': 5070.548, 'text': "Now let's understand pointers.", 'start': 5066.825, 'duration': 3.723}, {'end': 5074.07, 'text': 'Pointers are variables which store the address of a variable.', 'start': 5070.608, 'duration': 3.462}, {'end': 5080.494, 'text': 'Normally, if we want to work directly with the address of a variable, then we need pointers.', 'start': 5074.891, 'duration': 5.603}, {'end': 5087.779, 'text': 'When we learn about data structures and algorithms, then we need pointers because we have to deal directly with the address.', 'start': 5080.554, 'duration': 7.225}, {'end': 5097.825, 'text': 'So here is an example.', 'start': 5096.665, 'duration': 1.16}, {'end': 5104.748, 'text': 'First of all, we are creating an integer variable a and we have stored the value 10 in a.', 'start': 5097.846, 'duration': 6.902}, {'end': 5108.189, 'text': 'And here to create a pointer, I have to use a star.', 'start': 5104.748, 'duration': 3.441}, {'end': 5112.711, 'text': 'So here I am writing int star p is equal to and a.', 'start': 5108.349, 'duration': 4.362}, {'end': 5115.571, 'text': 'So and a means address.', 'start': 5113.371, 'duration': 2.2}, {'end': 5120.132, 'text': 'So I am storing the address of this variable in this pointer.', 'start': 5115.831, 'duration': 4.301}, {'end': 5123.993, 'text': 'So to create a pointer I have to write star p.', 'start': 5120.232, 'duration': 3.761}], 'summary': 'Introduction to pointers and their usage in c programming', 'duration': 72.299, 'max_score': 5051.694, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w5051694.jpg'}, {'end': 5108.189, 'src': 'embed', 'start': 5074.891, 'weight': 0, 'content': [{'end': 5080.494, 'text': 'Normally, if we want to work directly with the address of a variable, then we need pointers.', 'start': 5074.891, 'duration': 5.603}, {'end': 5087.779, 'text': 'When we learn about data structures and algorithms, then we need pointers because we have to deal directly with the address.', 'start': 5080.554, 'duration': 7.225}, {'end': 5097.825, 'text': 'So here is an example.', 'start': 5096.665, 'duration': 1.16}, {'end': 5104.748, 'text': 'First of all, we are creating an integer variable a and we have stored the value 10 in a.', 'start': 5097.846, 'duration': 6.902}, {'end': 5108.189, 'text': 'And here to create a pointer, I have to use a star.', 'start': 5104.748, 'duration': 3.441}], 'summary': 'Pointers are necessary for working directly with variable addresses in data structures and algorithms.', 'duration': 33.298, 'max_score': 5074.891, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w5074891.jpg'}, {'end': 5193.74, 'src': 'embed', 'start': 5166.316, 'weight': 2, 'content': [{'end': 5169.499, 'text': 'so if I want to print the address of any variable, then I have to use %x.', 'start': 5166.316, 'duration': 3.183}, {'end': 5173.623, 'text': 'Here we have already understood that &a means address of a.', 'start': 5169.539, 'duration': 4.084}, {'end': 5180.689, 'text': 'Here we have content of p which means p is a pointer and address is present in this pointer.', 'start': 5173.623, 'duration': 7.066}, {'end': 5182.57, 'text': 'So here I am using %x and printing p.', 'start': 5180.709, 'duration': 1.861}, {'end': 5193.74, 'text': 'So here if you print &a or print p you will get only one thing.', 'start': 5189.176, 'duration': 4.564}], 'summary': 'Use %x to print variable address, &a means address of a, p is a pointer.', 'duration': 27.424, 'max_score': 5166.316, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w5166316.jpg'}, {'end': 5445.759, 'src': 'embed', 'start': 5418.707, 'weight': 4, 'content': [{'end': 5423.149, 'text': 'So till now we were keeping the return type of main as void.', 'start': 5418.707, 'duration': 4.442}, {'end': 5425.511, 'text': 'Means there is no need to return anything.', 'start': 5423.189, 'duration': 2.322}, {'end': 5427.952, 'text': 'So now the new function that we have created is add.', 'start': 5425.531, 'duration': 2.421}, {'end': 5436.615, 'text': 'We will give it a return type int which means this function will return an integer type value and it is taking two parameters.', 'start': 5428.192, 'duration': 8.423}, {'end': 5438.776, 'text': 'These two parameters are x and y.', 'start': 5436.755, 'duration': 2.021}, {'end': 5442.998, 'text': 'So after taking these two parameters, I am just adding them and returning them.', 'start': 5438.776, 'duration': 4.222}, {'end': 5445.759, 'text': 'So suppose as you can see I have passed 3 and 4.', 'start': 5443.018, 'duration': 2.741}], 'summary': "The new 'add' function returns an integer value after adding two parameters x and y.", 'duration': 27.052, 'max_score': 5418.707, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w5418707.jpg'}, {'end': 5509.764, 'src': 'embed', 'start': 5470.608, 'weight': 6, 'content': [{'end': 5472.189, 'text': 'This is called function calling.', 'start': 5470.608, 'duration': 1.581}, {'end': 5474.451, 'text': 'Function calling means invoking the function.', 'start': 5472.309, 'duration': 2.142}, {'end': 5477.013, 'text': 'To call the function that is already there.', 'start': 5474.731, 'duration': 2.282}, {'end': 5480.475, 'text': 'We are invoking the add function that we have created here.', 'start': 5477.033, 'duration': 3.442}, {'end': 5482.316, 'text': 'We have passed values 3 and 4 in it.', 'start': 5480.795, 'duration': 1.521}, {'end': 5487.001, 'text': 'So this is how we are performing the addition operation with this.', 'start': 5483.877, 'duration': 3.124}, {'end': 5490.344, 'text': "So now let's see some examples of this function.", 'start': 5487.201, 'duration': 3.143}, {'end': 5492.967, 'text': 'I will remove this whole thing from here.', 'start': 5490.364, 'duration': 2.603}, {'end': 5497.512, 'text': 'Now I will make a new function here by adding.', 'start': 5493.007, 'duration': 4.505}, {'end': 5509.764, 'text': 'I will make a function by adding int and it will have some parameters and its return type is already int and the parameters which I am giving in it.', 'start': 5498.76, 'duration': 11.004}], 'summary': 'Demonstrating function calling and creating a new function with parameters and return type.', 'duration': 39.156, 'max_score': 5470.608, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w5470608.jpg'}, {'end': 5627.293, 'src': 'embed', 'start': 5575.809, 'weight': 3, 'content': [{'end': 5577.95, 'text': 'And obviously, it will take two variables.', 'start': 5575.809, 'duration': 2.141}, {'end': 5582.353, 'text': 'Here, instead of x plus y, I will pass x minus y.', 'start': 5577.97, 'duration': 4.383}, {'end': 5584.354, 'text': 'And it will give an integer type.', 'start': 5582.353, 'duration': 2.001}, {'end': 5587.216, 'text': 'Here, I am passing 10 and 5.', 'start': 5584.394, 'duration': 2.822}, {'end': 5589.737, 'text': "So let's see what happens with 10-5.", 'start': 5587.216, 'duration': 2.521}, {'end': 5594.419, 'text': 'I have to invoke it again to everyone and not to add.', 'start': 5589.797, 'duration': 4.622}, {'end': 5597.201, 'text': 'Now we will execute it.', 'start': 5594.64, 'duration': 2.561}, {'end': 5600.962, 'text': 'As you can see, I passed 10 and 5 and I got 10-5.', 'start': 5597.281, 'duration': 3.681}, {'end': 5604.444, 'text': 'This is another small example of a function.', 'start': 5601.063, 'duration': 3.381}, {'end': 5610.547, 'text': 'So now if we understand functions, then we also understand function overloading.', 'start': 5607.486, 'duration': 3.061}, {'end': 5616.109, 'text': 'So function overloading means you have a lot of functions.', 'start': 5610.707, 'duration': 5.402}, {'end': 5622.832, 'text': 'And the special thing about this is that the multiple functions you make, the name of these multiple functions remains the same.', 'start': 5616.169, 'duration': 6.663}, {'end': 5624.972, 'text': 'This is a classic example.', 'start': 5623.692, 'duration': 1.28}, {'end': 5627.293, 'text': 'Here we have created two add functions.', 'start': 5625.012, 'duration': 2.281}], 'summary': 'Demonstrating function overloading with two add functions', 'duration': 51.484, 'max_score': 5575.809, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w5575809.jpg'}, {'end': 5833.485, 'src': 'embed', 'start': 5805.867, 'weight': 7, 'content': [{'end': 5808.669, 'text': 'You can do it in C++, Java and Python.', 'start': 5805.867, 'duration': 2.802}, {'end': 5816.814, 'text': 'But when it comes to C, because C explicitly does not support object oriented programming, you cannot do function overloading in it.', 'start': 5808.749, 'duration': 8.065}, {'end': 5817.995, 'text': 'So you have to keep this in mind.', 'start': 5816.834, 'duration': 1.161}, {'end': 5824.419, 'text': 'So now we will work with structures.', 'start': 5822.378, 'duration': 2.041}, {'end': 5826.701, 'text': 'So structure is a user-defined data type.', 'start': 5824.92, 'duration': 1.781}, {'end': 5833.485, 'text': 'And in this user-defined data type, we can store multiple variables of different types of data.', 'start': 5826.801, 'duration': 6.684}], 'summary': 'C++ and java support function overloading, c does not. structures store multiple variables of different data types.', 'duration': 27.618, 'max_score': 5805.867, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w5805867.jpg'}, {'end': 5875.709, 'src': 'embed', 'start': 5852.131, 'weight': 8, 'content': [{'end': 5859.797, 'text': 'As you can see, if we create three different variables in a structure, those three variables will be stored in different memory locations.', 'start': 5852.131, 'duration': 7.666}, {'end': 5862.459, 'text': 'So this is the syntax of the structure.', 'start': 5859.957, 'duration': 2.502}, {'end': 5866.782, 'text': 'First of all, you have to write struct and then you have to write the name of the structure.', 'start': 5862.499, 'duration': 4.283}, {'end': 5875.709, 'text': 'So here I am creating a person named structure and as you can see, I am creating three different types of data types in it.', 'start': 5866.822, 'duration': 8.887}], 'summary': 'Structures store variables in different memory locations. syntax: struct . example: creating a person structure with three different data types.', 'duration': 23.578, 'max_score': 5852.131, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w5852131.jpg'}, {'end': 6199.841, 'src': 'embed', 'start': 6148.288, 'weight': 9, 'content': [{'end': 6153.112, 'text': 'Here also a slash n and finally in this syntax I will add a slash n.', 'start': 6148.288, 'duration': 4.824}, {'end': 6156.055, 'text': 'Here I will just have to end this code with get ch.', 'start': 6153.112, 'duration': 2.943}, {'end': 6157.216, 'text': 'Now we will execute it.', 'start': 6156.075, 'duration': 1.141}, {'end': 6169.436, 'text': 'So as you can see we have created our structure person and we are setting ID and name of this person as salary.', 'start': 6161.291, 'duration': 8.145}, {'end': 6174.999, 'text': 'You can see ID of person is 1, name of person is Sam and salary of person is 1000.', 'start': 6169.456, 'duration': 5.543}, {'end': 6177.18, 'text': 'So this is how we have set it.', 'start': 6174.999, 'duration': 2.181}, {'end': 6180.543, 'text': 'After structure, we have union.', 'start': 6178.681, 'duration': 1.862}, {'end': 6183.506, 'text': 'This is also a user-defined data type.', 'start': 6180.723, 'duration': 2.783}, {'end': 6189.351, 'text': 'The only difference is that every variable in structure is stored in a different memory location.', 'start': 6183.826, 'duration': 5.525}, {'end': 6192.394, 'text': 'In this way, it takes a lot of memory.', 'start': 6189.451, 'duration': 2.943}, {'end': 6199.841, 'text': 'When you talk about union, all the variables in union are stored in a shared memory location.', 'start': 6192.434, 'duration': 7.407}], 'summary': "Demonstration of creating a structure and union in c with specific data assigned: person's id is 1, name is sam, and salary is 1000.", 'duration': 51.553, 'max_score': 6148.288, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w6148288.jpg'}], 'start': 5040.851, 'title': 'C programming concepts', 'summary': 'Covers pointers, functions overloading, arithmetic operations, structures, and unions in c, including creating, storing, and printing addresses and values using pointers, function overloading for arithmetic operations, and the syntax and differences between structures and unions.', 'chapters': [{'end': 5347.335, 'start': 5040.851, 'title': 'Understanding pointers in c', 'summary': 'Explains the concept of pointers in c, including creating and storing addresses of variables in pointers, printing the address and value of variables using pointers, and the significance of pointers in data structures and algorithms.', 'duration': 306.484, 'highlights': ['Pointers are variables that store the address of a variable, used when working directly with addresses, as needed in data structures and algorithms. Pointers are essential for working directly with addresses in data structures and algorithms, as they store the address of a variable.', 'Creating and storing addresses of variables in pointers, and printing the address and value of variables using pointers. The process of creating and storing addresses of variables in pointers, and utilizing pointers to print the address and value of variables is explained.', 'Explanation of how to print the address and value of variables using pointers, including the use of %x for printing addresses and %d for printing values. The explanation includes the usage of %x for printing addresses and %d for printing values of variables using pointers.']}, {'end': 5780.788, 'start': 5349.437, 'title': 'Function overloading and arithmetic operations', 'summary': 'Explains the concept of creating and invoking functions for arithmetic operations in c, including addition, subtraction, and function overloading, with examples and explanations.', 'duration': 431.351, 'highlights': ['The chapter explains the concept of creating and invoking functions for arithmetic operations in C, including addition, subtraction, and function overloading, with examples and explanations.', 'Function overloading allows for the creation of multiple functions with the same name but different parameters and return types, enabling the C compiler to distinguish between them.', "The function 'add' is created with a return type of int and takes two parameters, x and y, and returns their sum when invoked, such as add(3, 4) returning 7.", "The function 'sub' is created to perform subtraction, taking two integer type parameters and returning their difference when invoked, such as sub(10, 5) returning 5.", "Examples are provided to demonstrate the creation and invocation of the 'add' and 'sub' functions, showcasing their functionality with different parameters.", "The concept of function overloading is illustrated with the creation of two 'add' functions, one with double type parameters and return value, and the other with integer type parameters and return value."]}, {'end': 6227.849, 'start': 5780.928, 'title': 'C: understanding structures and unions', 'summary': 'Discusses the concept of structures and unions in c, covering the inability of function overloading, the syntax of structures, and the difference between structures and unions, with an example of setting and printing the details of a person using a structure.', 'duration': 446.921, 'highlights': ['In C, function overloading is not supported due to the lack of support for object-oriented programming, unlike C++, Java, and Python. C does not support function overloading, which is a feature available in languages like C++, Java, and Python.', 'Structures in C allow for the creation of user-defined data types to store multiple variables of different data types, each being stored in individual memory locations. Structures in C enable the creation of user-defined data types to store variables of different data types in individual memory locations.', "The syntax for creating a structure involves using 'struct' followed by the name of the structure, and variables can be accessed using the dot operator. Creating a structure in C involves using the 'struct' keyword followed by the structure name, and accessing variables using the dot operator.", "An example demonstrates the creation of a structure 'person' with variables like ID, name, and salary, and setting and printing their values. An example showcases the creation of a 'person' structure with variables for ID, name, and salary, and the process of setting and printing their values.", 'Unions in C store all variables in a shared memory location, unlike structures where each variable has its individual memory location, resulting in potential memory savings. Unions in C store all variables in a shared memory location, potentially saving memory compared to structures where each variable has its own memory location.']}], 'duration': 1186.998, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sqCrJ1m3f1w/pics/sqCrJ1m3f1w5040851.jpg', 'highlights': ['Pointers are essential for working directly with addresses in data structures and algorithms, as they store the address of a variable.', 'The process of creating and storing addresses of variables in pointers, and utilizing pointers to print the address and value of variables is explained.', 'The explanation includes the usage of %x for printing addresses and %d for printing values of variables using pointers.', 'Function overloading allows for the creation of multiple functions with the same name but different parameters and return types, enabling the C compiler to distinguish between them.', "The function 'add' is created with a return type of int and takes two parameters, x and y, and returns their sum when invoked, such as add(3, 4) returning 7.", "The function 'sub' is created to perform subtraction, taking two integer type parameters and returning their difference when invoked, such as sub(10, 5) returning 5.", "Examples are provided to demonstrate the creation and invocation of the 'add' and 'sub' functions, showcasing their functionality with different parameters.", 'Structures in C enable the creation of user-defined data types to store variables of different data types in individual memory locations.', "Creating a structure in C involves using the 'struct' keyword followed by the structure name, and accessing variables using the dot operator.", "An example showcases the creation of a 'person' structure with variables for ID, name, and salary, and the process of setting and printing their values.", 'Unions in C store all variables in a shared memory location, potentially saving memory compared to structures where each variable has its own memory location.']}], 'highlights': ['Great Learning Academy offers over 80 courses freely available with certification.', 'C language was introduced by Dennis Ritchie and is a procedural language, following a top-down approach.', 'The process of converting source code to object code is called compilation, which checks for syntactical and semantic errors.', 'The linking process involves converting the object code into an executable code file and adding any additional libraries if needed.', 'The main function is the most important part of a C language program as it is where the execution of the program starts and ends, and it dictates the complete processing of the code.', 'Dev C++ is a compiler for executing C and C++ programs. Dev C++ allows the execution of both C and C++ programs, providing a versatile platform for programming.', 'The chapter covers the basics of data types, input/output functions, and format strings, including examples of integer and double data types, input/output functions like printf and scanf, and an explanation of primitive and derived data types.', 'The chapter covers the 5 types of operators supported by C: arithmetic, unary, binary, relational, logical, and bitwise operators.', 'The size of double data type is 8 bytes, making it the largest among the analyzed data types.', 'The math.h library provides different mathematical functions such as sqrt, power, sign, absolute value, floor, and ceiling, which require loading the library to be used.', 'Demonstration of single-dimensional and multi-dimensional arrays is provided, with clear explanations of their structure and usage, including the example of creating a 2-dimensional array with 10 rows and 10 columns.', 'Pointers are essential for working directly with addresses in data structures and algorithms, as they store the address of a variable.', 'Function overloading allows for the creation of multiple functions with the same name but different parameters and return types, enabling the C compiler to distinguish between them.', 'Structures in C enable the creation of user-defined data types to store variables of different data types in individual memory locations.', 'Unions in C store all variables in a shared memory location, potentially saving memory compared to structures where each variable has its own memory location.']}