fbpx
C Programming

C Programming | Components of a C Program Quiz

Table of Contents

Components of a C Program:

The main components constituting a C program are listed below:

  • Header Files: A header file is a file that has an extension .h and contains C function declarations and macros, which are to be shared between several source files, hence allowing reusability and hence more efficiency in building up programming logic.
  • Main Method: The main method is a function from where the program execution starts in C.
  • Program Body: The program body is the main part of the program where all the programming logic is written. It includes all the variable declarations, the program logic(loops, conditional statements, function calls, etc), and finally the return statement terminating the program.

 

[ays_quiz id=’1′]

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

error: Content is protected !!
%d bloggers like this: