Array Operations - Section 1 Multiple Questions and Answers.




26.A …………………… does not keep track of address of every element in the list.
A. Stack
B. String
C. Linear array
D. Queue

27.Each array declaration need not give, implicitly or explicitly, the information about:
A. the name of array
B. the data type of array
C. the first data from the set to be stored
D. the index set of the array

28.The memory address of the first element of an array is called:
A. floor address
B. foundation address
C. first address
D. base address

29.Two dimensional arrays are also called:
A. tables arrays
B. matrix arrays
C. both of above
D. none of above

30.What is right way to Initialize array?
A. int num[6] = { 2, 4, 12, 5, 45, 5 };
B. int n{} = { 2, 4, 12, 5, 45, 5 };
C. int n{6} = { 2, 4, 12 };
D. int n(6) = { 2, 4, 12, 5, 45, 5 };

«»



Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers