Home TechnologyProgramming Subscribe to RSS
 

What Is The Program Execution Process Of A C Program?

Answer Question

1 Answer - Sort by: Date | Rating

    Every C program begins with these statements:

    #include < stdio. H >

    int main()

    The #include  is necessary at the beginning of every program because it includes the Standard Input/ Output library in your program so that any input and output functions within the program can be performed.

    The next statement is the main function “int main()”which indicates that the main body of the code is starting. When the execution of a program starts it starts from the line following the main function. The body of the code is enclosed in { } brackets and the code within these brackets is executed next and the execution continues according to the code in your program and performs any input, output or other functions.


    0 0

    Katie01 

    answered 1 year ago

      Answer Question - Answers are editable for 5 min.

      If you do not Sign-in or Register your answers will be anonymous,

      your answers may also be checked before going online.

      More

         
         

        Ask a Question via Twitter

        Send a question to @askblurtit and we will publish it online and send you a reply everytime you receive an answer.

        Blurtit Store

        Get T-shirts, hoodies, caps and more at the Blurtit store

        Blurtit International