Find the wrong statement about Abstract Class ?
Answer : B. We can’t create pointers to an abstract class
A virtual function that has no definition within the base class is called ?
Answer : A. Pure virtual function
Which of the following statements about virtual base classes is correct ?
Answer : B. It is used to avoid multiple copies of base class in derived class.
Which of the following concepts means wrapping up of data and functions together ?
Answer : B. Encapsulation
Which of the following can access private data members or member functions of a class ?
Answer : C. Any member function of that class.
What is pure virtual function in C++ ?
Answer : A virtual function will become pure virtual function...
State whether the following statements about inheritance are True or False.
Answer : C. True, True
Encapsulation is ?
Answer : C. Reduce Complexity
Which of the following concepts of OOPS means exposing only necessary information to client ?
Answer : C. Data Hiding
Given a list of numbers ( fixed list) Now given any other list, how can you efficiently find out if there is any element in the second list that is an element of the first list (fixed list) ?
Answer : In this method, we store all elements of second array in a hash table....
What are the advantages and disadvantages of using inline and const ?
Answers : Advantages of inline....
What are the OOPS concepts ?
Answer : An object is an abstraction...
What is the output of this C code ?
Answer : D. Error
How to find LCM of two Numbers in C ?
Answer : The LCM of two numbers a and b is the smallest positive integer that is perfectly divisible...
Explain Call by Reference in C language ?
Answer : In call by reference, original value is modified...
Explain Call by Value in C language ?
Answer : In call by value, original value is not modified...