The c programming language was developed in 970s. It was developed by Dennis Richie. Basically c programming language was developed for writing system software but now is most famous programming language. After c programming language many languages came in the whole world like java,c++ etc.
Let see structure:-
#include<stdio.h> // header file
main() // main function of c programming
{
int x,y; // all the statement or things written in curly bracket are body parts
statement 1;
statement 2;
statement 2;
statement 3;
statement 4;
….……………..
statement n;
} // end of program
In the all c programs most important things header file that is very important. In all c programs it is necessary to write header file #include<stdio.h> in the first line without header file program can not work. You will learn all about header file in section or pages. After that main function main() written in structure is also most important function. All the program starting to running from main function main(). You will learn about main function and all the parts of c program deeply. All lines written in curly bracket are the statements. All the line written in curly bracket that ends with semicolon (;) is known as statements. In c program the any numbers of statement can written as you wish.
5 Comments
thanks to all
ReplyDeleteright
ReplyDeleteAur nootes kab aayega
ReplyDeletegive me whatsapp no.
ReplyDeleteVery helpful blogs cleared my concept.
ReplyDeleteAny query comment in comment box thank you
Emoji