More than one value can be returned by a function, if the arguments are passed to it by

Each statement below has a blank space to fit one of the word(s) or phrase(s) in the list
below. Enter your choice in the “tear-off” answer sheet attached to the question paper,
following instructions therein.

A. stdin B. automatic C. int **a;
D. value E. int *p, *q; F. union
G. structure H. variable of a structure I. addition
J. constants K. reference L. int a[10, 20];
M. int *p, q; N. sparse O. variable of int type
P. pointer to a structure Q. multiplication R. stdout
S. static T. empty U. external
4.1 The statement int* p, q; is equivalent to ________.
4.2 More than one value can be returned by a function, if the arguments are passed to it by
________.
4.3 A(n) ________ matrix has a large number of zero entries and very few non-zero entries.
4.4 A two dimensional array of integers can also be defined as ________.
4.5 The fprintf function can be used to write on the screen if the first argument to it is ________.
4.6 If the request of register storage class is not honoured, then the variables are treated as having ________ storage class.
4.7 A ________ allows its members to share the same storage area in the computer memory.
4.8 The indirection operator is also used as ________ operator.
4.9 In t-> name, t is a(n) ________.
4.10 The incrementation operator cannot be applied to ________.

The remainder operator cannot be applied to floating point numbers.

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 In a scanf statement, all the arguments after the control string must appear with address operator (&).
2.2 There must be atleast one #include statement in a C program.
2.3 The remainder operator cannot be applied to floating point numbers.
2.4 A function can be defined within another function.
2.5 The life of static variable is till the control remains within the block in which it is defined.
2.6 Given float a[10], *pa; The statement pa = ++a will initialize pa to &a[1].
2.7 If a function has an array as an argument, then changes done to the contents of the array are visible in the calling function also.
2.8 The number of bytes returned on using the sizeof operator with a structure may not be always
 equal to the sum of the number of bytes occupied by the individual members of the structure.
2.9 The linked lists are non-linear homogeneous data structures.
2.10 A for loop can never be infinite.

What is the following function determining?

1.10 What is the following function determining?
int fn(int a, int b) {
if (b = = 0) return 0;
if (b = = 1) return a;
return a + fn(a, b-1);
}
A) a + b where a and b are integers
B) a + b where a and b are non-negative integers
C) a * b where a and b are integers
D) a * b where a and b are non-negative integers

What is wrong with the following function?

1.9 What is wrong with the following function?
int Main(int ac, char *av[]) {
if (ac = = 0) return 0;
else {
printf("%s", av[ac-1]);
Main(ac - 1, av);
}
return 0;
}
A) Function cannot have name as Main, it should be main only.
B) The arguments’ name must be argc and argv, respectively.
C) There cannot be two return statements in the function.
D) There is no error in the function.