Array in C

Welcome to your Array in C

1. One-dimensional array needs only ____ subscript.
2. In ____ , address of the array elements are passed to function
3. In int x[10]; the number 10 specified in the square bracket represents the
4. Fast access of array elements can be done using____
5. What is the output of int num[2][3]={1,2,3,4}, {3,4,5,6} }; ?
6. The 1st element according to C compiler physically is a _____
7. In int x[5], the x represents a _____
8. When in between two arrays of the same data type, if the values are interchanged then _____
9. How many rows and columns are there in int num[2][3]={ {1,2,3}, {4,5,6} }; ?
10. If in char c[]="Hello" the H is stored at 65470, then the o is stored at ___
11. Output of the following program isvoid main()
int x[]={1,2.2,3},i;
12. In int x[5]={2,3,4,5,6}; the base address is 65564, then the location of element 2 is ______
13. What is the value of a[1] in static int [3] ; ?
14. An array is a collection of multiple elements of ____ data type
15. In int x[3] if x[0]=12 and x[2]=26, then x[3] is ____
16. Each array element is stored in separate
17. The array int x[5]; can hold values in between_______ to ______
18. In long k[4] the total memory occupied by the array is____
19. An array stores elements ____ in the memory
20. Array element counting starts from zero, hence the statement int x[0] holds _____

2 thoughts on “Array in C”

Leave a Reply

Your email address will not be published. Required fields are marked *