Skip to main content

Posts

Showing posts with the label how to write a c program.

STRUCTURE OF A 'C' PROGRAM

 WHAT IS THE STRUCTURE OF 'C' PROGRAM?                  As we all know 'C' is a high-level programming language used to write executable programs with logics and it is called MOTHER  of all other programming languages. Today, we`ll learn how is a program written in C? with proper syntax or structure.              C programs or any other high-level programming language programs are written with the help of functions. Without any function no program can be written. It is essential that in every C program one function must have a name main.  The main function is the very first function of a C program. It is the part of the program, from where the execution starts, which has the definitions of other functions and may access other functions of the program which are pre-defined. It is necessary that any other function definitions must be defined separately, either ahead of or after the main functio...