Tuesday, 3 March 2015

Introduction to C Program Basic Structure






Hay everyone!
                     This is our first post in which we will explain you the basic structure of C Language.

Introduction to C Program Basic Structure 

Every C Program has main function which is the starting point of a program. Group of the code which explains main function is enclosed in curly(flower) braces. e.g:

void main(void) 
{
Block of Statements
}

The first void means that it will not return any value and the second void in brackets means that it don't have any argument.

User defined function can also be made in C but that we will teach you in future.


No comments:

Post a Comment