
II-140 Programming Concepts
clrscr();
printf("%f",x[1]);
}
(a) The program will not run.
(b) The program will run with warning messages.
(c) None of the above.
(d) 0th element (c) 1st element
9. The total memory occupied by the array long k[4] is .
(a) 16
(b) 8
(c) 4
10. int x[2]={12,26}, then x[2] is .
(a) 0
(b) 15
(c) Garbage value
11. char c[]=“Hello” the H is stored at 65470, then the o is stored at .
(a) 65474
(b) 65475
(c) 65480
12. In int x[10]; the number 10 specified in the square bracket represents the .
(a) 10 addresses
(b) 10 values
(c) 10 lines
13. The first element according to C compiler physically is a .
(a) 2nd element
(b) 0th element ...