LET'S START CODING (The hello-world program)

After brushing up the basics its time to actually start coding.

So this is our first program let us understands few things here.


HEADER FILES:- C has built in libraries containing pre-coded functions which are contained in header files.
                               so we need to mention the header files in top of  our program in order to use the                                           contained functions.
                                  
MAIN FUNCTION:- Main function tells the compiler from where to start compiling, its important to note                                         that a program should have only one main function because if it contains more than                                         one main function then the compiler will get confuse from where to start compiling . 

PRINTF:-                     printf is pre-defined function under stdio.h , which prints or display messages on                                           screen 

RETURN STATEMENT:-Return statement tells us that  the above code is compiled properly and                                                         terminates the execution of the program.






Comments

Popular Posts