
#1 Start Your First Coding With C Programming
Hello, What's the programming from your end ?
You don't know anything about it, yet !! Then, I'm here to give you core concept about programming.
Computer programming is a way of giving computers instructions about what they should do next. These instructions are known as coding.
Do I start my programming from C now ?
If you are novice at coding, then come here. It's your time to start with C Programming. C Programming is the most easiest programming language in the world. So, as a beginner, you could start your programming career with C Programming.
Ok, Let's start a basic programming with C language:
Example: Hello World
#include <stdio.h>
int main()
{
printf("Hello world\n");
return 0;
}
Line 1:
#include <stdio.h>
In this line of code, we have included stdio.h header file. Which means, stdio.h is a standard header library file.
We need to import it to make standard input output from the coding.
Line 2:
int main()
When any C prorgam starts, it start to read main program when it reads a main() function in the block. Without main() function, C program is nothing.
Line 3-6:
{
printf("Hello world\n");
return 0;
}
In these lines, first, we've print the Hello World and then put a new line.
Then just return the function with return 0.