A place where one could learn step by step about C language and gradually become a good programmer.

HOW DOES A BASIC C PROGRAM LOOK LIKE????

HOW DOES A BASIC C PROGRAM LOOK LIKE????

Every C program looks somewhat similar.

It always begins with a header file. Which are-- #include<stdio.h>, #include<conio.h>, #include<math.h> etc.

It is then followed by a main function from where the main programming starts.

We then put a parentheses { .

Then we declare variable types. It could be an integer,char,float etc. Eg- int a; char a; float a;

Then we write our main logic part with proper syntax and steps.

printf is used for instructing the computer to give an output to the user and scanf is used to take inputs from the user.

Every executable statement is ended using ;

Then we end our program with a closed parentheses }. A ROUGH VIEW OF A C PROGRAM #include<stdio.h> void main( ) { int a=10; printf("%d",a); } OUTPUT : a=10 NOTE- THIS IS JUST AN OVER-VIEW!! IN DEPTH WE WILL GO ONE BY ONE.