Tag Archives: declaration


Write the syntax for the declaration of a function. Also discuss the parameter passing methods with an example program. 10m Dec2007

Explanation of FUNCTION: A function is a block of code that has a name and it has a property that it is reusable i.e. it can be executed from as many different points in a C Program as required. Function groups a number of program statements into a unit and gives it a name. This… Read More »

A C program contains the following declarations: 10m Jun2006

A C program contains the following declarations: 10m Jun2006 int i, j; long iX; short S; float X; double dX; char C; Determine the resultant data type of each of the following expressions: (i) i + C                        – int (resultant data type) (ii) X + C                     – float (resultant data type) (iii) dX + X                … Read More »