Functions may have several declarations, but only one definition.

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 Functions may have several declarations, but only one definition.
2.2 Sizes of short integer and long integer would vary from one platform to another.
2.3 Switch statements can also be used to switch on strings.
2.4 The expression on the right hand side of && and || operators does not get evaluated if the left hand side determines the outcome.
2.5 Two different operators would always have different associativity.
2.6 Functions can return a floating point number.
2.7 A preprocessor directive is a message from compiler to the linker.
2.8 NULL pointer is not same as an uninitialized pointer.
2.9 Structures cannot contain a pointer to itself.
2.10 In a function two return statements should never occur.


Leave a Reply