(A) for
(B) while
(C) do while
(D) no looping process checks the test condition at the end
Tag: Introduction to Computer Programming
The second parameter of operator functions for << and >> are objects of the class for which we are overloading these operators?
(A) True
(B) False
(C) Both
(D) None
We can delete an array of objects without specifying [] brackets if a class is not doing dynamic memory allocation internally?
(A) True
(B) False
(C) Both
(D) None
A stream is an ordered sequence of bytes?
(A) True
(B) False
(C) Both
(D) None
The normal source of cin object is,?
(A) File
(B) Disk
(C) Keyboard
(D) RAM
We can also create an array of user define data type?
(A) True
(B) False
(C) Both
(D) None
When we use manipulators in our program then which header file should be included?
(A) iostream.h
(B) stdlib.h
(C) stdio.h
(D) iomanip.h
Which of the following is a valid class declaration?
(A) class A { int x; };
(B) class B { }
(C) public class A { }
(D) object A { int x; };