What is space complexity of the program ?
Answer : C. Amount of memory required by the program to run
A code with θ(n) and θ(n2) complexity. Which code will execute faster for a code of size J ?
Answer : C. Cant be said as size of K is unknown
Which type of inheritance needs a virtual function ?
Answer : D. All of the above
A 8-bit signed integer has the following range ?
Answer : B. -128 to 127
Which of the following cannot be inherited ?
Answer : C. Destructor
Which of the following are available only in the class hierarchy chain ?
Answer : C. Protected data members
How will a class protect the code inside it ?
Answer : A. Using access specifier