There is only one ternary operator in ‘C’ which is Conditional operator.

Each statement below is either TRUE or FALSE. Choose the most appropriate one
and ENTER in the “tear-off” sheet attached to the question paper, following
instructions therein.

2.1 By default, return type of any user-defined function is void.
2.2 In else…if ladder, the else statement at last is optional.
2.3 There must be only one main( ) function in a program.
2.4 There is only one ternary operator in ‘C’ which is Conditional operator.
2.5 int a[ ]={4}; this statement allocates 4 bytes of memory.
2.6 Float_int (float, float); is an invalid function prototype.
2.7 printf( ) is a user-defined function declared in stdio.h file.
2.8 When an array is declared, name of array works as a constant pointer to base address.
2.9 Every string ends with character ‘\&’.
2.10 If file can not be opened, fopen( ) returns Null pointer.

Leave a Reply