Transcript for:
Introduction to C Programming Basics

Hey guys, my name is Faduma Manandar and I am a software developer here at Programiz. I'm really glad to be an instructor for this video series on C programming. And in this series, we will learn everything you need to know to get started with C.

By the end of this series, you will have a good understanding of C and programming in general. So let's get started. What is C programming? C is a general-purpose programming language that has a wide range of applications.

It was initially developed to rewrite Unix operating system. Apart from that, modern web browsers like Google Chrome, Firefox, StarWare's management system like MySQL, and hundreds of other applications use C. C is a pretty old language created during the 1970s, and with the rise of new languages like Python and JavaScript, there may arise an important question. Is C outdated?

The simple answer is C. The answer to this is no. While these new languages have their own benefits, C is still a popular language for several reasons.

C is very fast and efficient, so if you are working on applications where efficiency is must like compilers or operating systems, C is a good choice. Also C programming allows us to access the hardware of computers on a deeper level that modern languages do not. That's why there is still a lot of demand for C programmers. According to Glassdoor, a popular job portal site, there are 18,000 active job openings for C programmers in the United States. In fact, many universities teach students C programming as their first language, and it was the first programming language for me as well.

There is a good reason for it. Learning C helps you understand how the software and hardware interact with each other as C allow us to directly work with computer memory. So on the question of should you learn C?

While C programming may not be the hottest language out there, we at Programmees believe every programmer should learn C eventually. It helps us to to understand programming from a deeper level, here is a line from Joel Spolsky, the founder of Stack Overflow. If you can't understand why this code copies a string, you are programming based on superstition. So getting to the basics and understanding it is a must for every programmer.

By the way, if you are watching this, there is a good chance you want to improve your skills in C programming. Lucky for you, we have a mobile app that provides a well-structured C programming course with certification at the end. the end and you can use the app alongside the video to practice on the built-in compiler.

Our course is free so download now by scanning this QR code or click the link in the video description. Before we learn to write our very first program, our computer needs to install a zip compiler and a text editor. To make this process easier, we have created an online tool that lets you run C on the browser without installing anything.

To access our online C editor, we will open our browser and go to this URL www.programmys.com slash c-programming slash online-compiler You can also find the link in the video description below. We will write our code in this area and when I hit run, it will execute the code and show output in this area. Now let's write our very first C program.

We'll create a program called Hello World. If you do not know, a Hello World is a simple program that displays Hello World on the screen. Since it's a simple program, it is often used to introduce a new programming language to beginners.

Writing even a simple program like this also involves a couple of steps. So bear with me. First, we need to create the main function int main with parenthesis and with curly braces. This is the main function. It's the starting point of every C program.

Now to mark the end of this program, we will need to use return statement like this. Although this part is not necessary, it's considered a good programming practice. Now to print the text in C programming, we first need to import the file named stdio.h. For that, I'll write here has include stdio.h. For now, just remember that every C program will have this structure and we will write the code inside this curly braces.

So to print the hello world, I'll write here printf bracket inside quotation hello world and end this statement with a semicolon. Now let me run this code. As you can see in the output, we get hello world.

Here are the points to take away from this video. Every C program starts from this main function. We will write our code inside these curly braces. As we go further, in this course we will cover these lines in much more detail and write some very interesting programs so be sure to subscribe to the channel and ring the bell icon and before we end this video i have a suggestion for you the best way you can learn programming is is by writing code. If you are just watching videos without actually writing code, you may soon forget and lose interest.

So I highly recommend you to practice what you have watched as we move forward in this course. That's it for the video. I hope you learned something. If you liked the video, hit the like button and don't forget to subscribe and ring the bell icon so you don't miss the next video.

If you have any questions and feedback, use the comment box. In the next video, we will learn about variables in C programming and how they are used to store data. See you in the next video.

Happy programming.