MCQ Bank
which operator can be overloaded?
- A)
- B)
- C)
- D)
Complex codd (complex c1, complex c2); Which statement is true for above code?
- A)
- B)
- C)
- D)
Which of the following is assignment operator?
- A)
- B)
- C)
- D)
which option will be correct in order to free the space of memory allocated to a buffer (buf)?
- A)
- B)
- C)
- D)
How many objects are initialized for the class? Date myDates[10];
- A)
- B)
- C)
- D)
which statement about pointer is not true?
- A)
- B)
- C)
- D)
Representing logical depiction of the solution to the problem is known as a ________
- A)
- B)
- C)
- D)
Which statement about manipulators is not true?
- A)
- B)
- C)
- D)
which of the following structure is correct for WHILE loop?
- A)
- B)
- C)
- D)
which of the following is true about the switch statement?
- A)
- B)
- C)
- D)
If the condition is not made false in while loop, what will happen?
- A)
- B)
- C)
- D)
If a function does not return anything, its return type will be ________
- A)
- B)
- C)
- D)
which of the following is the first step in FOR loop?
- A)
- B)
- C)
- D)
When we call a function and pass an argument, an object or variable to the function, it is called ?
- A)
- B)
- C)
- D)
Stream insertion (<<) and extraction operators (>>) are always implemented as ________ function.
- A)
- B)
- C)
- D)
which of the following statement is not true about overloading stream extraction operator (>>)?
- A)
- B)
- C)
- D)
endl is a type of ________ manipulator.
- A)
- B)
- C)
- D)