MCQ Bank
Type to use getch() function without including #include<conio.h> header file in the program is a ________ error
- A)
- B)
- C)
- D)
in C++ the default constructor takes ________
- A)
- B)
- C)
- D)
in C++ the name of the ________ is the same as that of a class with a preceding tilde (~) sign.
- A)
- B)
- C)
- D)
which of the following option returns the state of end file?
- A)
- B)
- C)
- D)
If the memory in the free store is not sufficient enough to fulfill the request, malloc() function return ________
- A)
- B)
- C)
- D)
in C/C++ language, memory at runtime is allocated from ________
- A)
- B)
- C)
- D)
When overloading assignment (=) operator, which of the following syntax is correct?
- A)
- B)
- C)
- D)
which of the following code:
- A)
- B)
- C)
- D)
For overloading minus (-) operator, which member operator function will be correct?
- A)
- B)
- C)
- D)
In C++ which operator is used for memory allocated?
- A)
- B)
- C)
- D)
The Statement char array[10]; is an example of a type of ________ memory allocation
- A)
- B)
- C)
- D)
which of the following option not a source of the output stream?
- A)
- B)
- C)
- D)
A square matrix has ________
- A)
- B)
- C)
- D)
The statement double** elements; says that elements is a / an ________ to double.
- A)
- B)
- C)
- D)
A matrix is nothing but a ________ of numbers.
- A)
- B)
- C)
- D)
A programmer can ________ the simple matrix class to handle the integer, float, or double data type as elements of the given matrix.
- A)
- B)
- C)
- D)
in C and C++ language, every expression has a ________ of its own?
- A)
- B)
- C)
- D)
The cycle of testing and ________ continues until the program is working perfectly without any problem.
- A)
- B)
- C)
- D)
Default scope for members of structures is ________ and default visibility for class members is ________
- A)
- B)
- C)
- D)
If A and B are two matrices of order M*N to be added then their resultant matrix will have an order of
- A)
- B)
- C)
- D)