Question Bank all jobs

1. A set of names can be represented as a

2. Choose the correct statements

3. Choose the statement that best defines an array

4. If n has the value 3, then the statement a [++n] = n++ ;

5. C does no automatic array bound checking. This is

6. The following program main() { static char a[3][4] = {"abcd", "mnop", "fghi"}; putchar(**a); }

7. If a two dimensional array is used as a formal parameter, then

8. Under which of the following conditions, the size of an one-dimensional array need not be specified?

9. The maximum number of dimension an array can have in C is

10. Consider the statement int val[2] [4] = { 1, 2, 3, 4, 5, 6, 7, 8} ; 4 will be the value of

Ans.
1 4
2 4
3 3
4 4
5 4
6 4
7 2
8 4
9 4
10 1