(A) Only block of memory is allocated for objects
(B) Only constructor is called for objects
(C) Memory is allocated first before calling constructor
(D) Constructor is called first before allocating memory
Tag: Introduction to Programming
What is the functionality of the following syntax to delete an array of 5 objects named arr allocated using new operator? delete arr ;?
(A) Deletes all the objects of array
(B) Deletes one object of array
(C) Do not delete any object
(D) Results into syntax error
The compiler does not provide a copy constructor if we do not provide it?
(A) True
(B) False
(C) Both
(D) None
The declarator of Plus (+) member operator function is?
(A) Class-Name operator + (Class-Name rhs)
(B) operator Class-Name + ( )
(C) operator Class-Name + ( rhs)
(D) Class-Name operator + ( )
eof( ), bad( ), good( ), clear( ) all are manipulators?
(A) True
(B) False
(C) Both
(D) None
setw is a parameterized manipulator?
(A) True
(B) False
(C) Both
(D) None
When a pointer is incremented, it actually jumps the number of memory addresses?
(A) According to data type
(B) 1 byte exactly
(C) 1 bit exactly
(D) A pointer variable can not be incremented
seekg() and write() are functionally __.
(A) Different
(B) Identical
(C) Two names of same function
(D) None of the above