Many recursive calls may result into stack ________.

A. Multiply B. Register C. Gets()
D. ‘.’ E. ‘&’ F. Reference
G. ‘*’ H. Overflow I. Arbitrary
J. Goto K. value L. extern
M. Return

4.1 Many recursive calls may result into stack ________.
4.2 ________ is used to transfer control from a function back to the calling function.
4.3 The ________ operator is used to get value at address stored in a pointer variable.
4.4 ________ is more appropriate for reading in a multi-word string.
4.5 A Register variable is expected to be placed in machine ________.
4.6 The operator i << 2 is equivalent to ________ i by 4.
4.7 The ________ operator can be used access structure elements using a structure variable.
4.8 The function “lseek” provide a way to read or write a file in ________ order.
4.9 When a variable is passed to a function, by ________, its value remains unchanged in the calling program.
4.10 To share a variable across different files, ________ storage class is used.

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.

The && and | | operators

1.10 The && and | | operators
A) compare two numeric values
B) combine two numeric values
C) compare two boolean values
D) None of the above

If a file is opened in ‘write’ mode, then

1.8 If a file is opened in ‘write’ mode, then
A) If it does not exist, an error is returned
B) If it does not exist, it is created
C) If it exists, then data is written at the end
D) If it exists, error is returned

What will be the output of the following program?

1.7 What will be the output of the following program?
void main( )
{
struct emp
{
char name[20];
int age;
float sal;
};
struct emp e ={“Tiger”};
printf(“\n%d %f”,e.age,e.sal);
A) 0 0.000000
B) Garbage values
C) Error
D) None of the above