arrays Interview Questions and Answers
Ques:- Matrices can be represented through ____ arrays.
A. Single
B. 2-D
C. 3-D
D. Multi-dimensional
Ques:- The size of the array should always be ___
A. Positive
B. Negative
C. Whole number
D. Real number
Ques:- _____ dimensional array is an array in which each element is itself an array
A. One
B. Two
C. Four
D. Five
Ques:- The ____ character is very important, as it acts the string terminator.
A. Float
B. Int
C. Null
D. String
Ques:- ____ is a member function of standard input istream.
A. Getsline ()
B. Line()
C. Get ()
D. Getline ()
Ques:- The process of arranging the data in a given array is called ___
A. Merging
B. Filtering
C. Sorting
D. Ordering
Ques:- A ___ is a collection of variables of the same type that are referenced by a common name.
A. Program
B. Array
C. Constant
D. Variable
Ques:- If the elements are stored in row wise manner it is called as ___ order.
A. Row-major
B. Column-major
C. Column
D. Row
Ques:- _____ Dimensional array comprising of finite homogenous elements.
A. One
B. Two
C. Three
D. Multi
Ques:- ____ is a member function of standard output stream i.e., ostream.
A. Reads ()
B. Writes ()
C. Print ()
D. Write ()
Ques:- Arrays in C++ belong to which of the following data type?
A. Primitive
B. User defined
C. Derived
D. Basic