syntax of c language

 #include<stdio.h>

int main()

{

printf(" hello ");

return 0;

}

this is a syntex of c programing language.

stdio.h:-

it is stand for standard inpiut output .

and it is a collection of predefined function .

it is also called libery of C.

include:-

to include the header file into the programe.

#:- it is called preprocessor .

it is libery of c into the programe before the execution of programe .

void:-

it is a keyword . it indicates that no one value is being returned by the function .

if we use any other keyword like int , main , float , char etc in the place void than we will use return keyword.

main:-

it is a functio which is called entry point of the any programe.

the excution of programe start from the main function.

if in a programe there is only one function then should be main function.


 

Comments