Getting Started With C

In C programming, a function call is a statement that invokes or executes a function

  • Examples :

    Program.c


  • Output:

          Inside main function.
          Inside myFunction.
          Back inside main function
          
         

    Resources :

    Test Your Knowledge
    Choose The

    With supporting text below as a natural lead-in to additional content.

    Q1. In C programming, what is the purpose of a function prototype?

    Q2. If a function is defined after the main function in a C program, how can you call it from main without a function prototype?