arrays

Ques:- String manipulators are defined in __ header file.
A. string.h
B. string
C. st.h
D. std.h
Ques:- Arrays are of ___ types.
A. 1
B. 2
C. 3
D. 4
Ques:- ____  parameters are required for write function.
A. Two
B. Three
C. Four
D. Five
Ques:- The process of arranging the data in a given array is called ___
A. Merging
B. Filtering
C. Sorting
D. Ordering
Ques:- The subscript always commences from ___
A. One
B. Two
C. Three
D. Zero
Ques:- ___  function compares the two given strings.
A. Strcmp ()
B. Strcp ()
C. Stcp()
D. Stcmp()
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:- Character Array should be initialized using ___ quotes.
A. Any
B. Double
C. No
D. Single
Ques:- In a 2D array, the first sub-script stands for ____
A. Row
B. Column
C. Object
D. Diagonal
Recent Answer : Added by Manjunath S B On 2021-12-04 15:01:00:

A

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:- 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:- ____ are otherwise called as literals.
A. Data
B. Variables
C. Constants
D. Strings
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:- Which of the following is a derived data type?
A. Array
B. Double
C. Float
D. Union
Ques:- Arrays in C++ belong to which of the following data type?
A. Primitive
B. User defined
C. Derived
D. Basic
Scroll to top