C language Classroom image

Anil  Bist / Professional / C Language

To post your Question Join Classroom
C Programming first line


int main(){

printf("Hello World");


Explanation of program 


# => Preprocessor directive, this tells the preprocessor to do this, this line will process before compilation.

include => keyword, that tells the preprocessor to include that header file

<> => will search header file in current directories

stdio.h => stander input output header file 

Content of this header file => stdio.h contain pre define function declaration micro defination and file constants

printf() -> predefine function 

printf("Hello World ") -> function calling, this statment will call printf function and will print Hello World in Computer Screen.

C language has a preprocessor and compiler, preprocessor steps will perform before the compilation of the program. - beginner just memorize this later we will discuss this in details.

if this header file contains the declaration of predefine function then where does the definition of these predefine functions exist? 


Anil  Bist

Skills    C language

Qualifications :- High School - SLV, College/University - Graphic Era Deemed Univ University,
Location :-Dehradun,Dehradun,Uttarakhand,

I started my Professional Journey in 2006 with one of the Web Development Company in Bangalore and my 1st framework was "Ruby on Rail" as Web development and delivered around 5+ Projects using this platform. Then came another dimension as JEE/Sturst framework, Gradually I realized that I want to build something on my own and give my passion and energy on creating something different a


  Students (0)