C interview questions – page 65
2,130 questions. Tap “Show answer” to check yourself.
-
Define encapsulation?
-
Mention the storage classes names in C++ ?
-
What is a reference variable in C++?
-
Explain an abstract class in C++?
-
What is the role of mutable storage class specifier?
-
What is the difference between shallow copy and deep copy?
-
Define the static member function?
-
Name the data type which can be used to store wide characters in C++.?
-
What is the function of static keyword on class member variable?
-
Define a pure virtual function?
-
What are/is the operator/operators used to access the class members?
-
Define operator overloading?
- Advertisement
-
Can we initialize a class/structure member variable as soon as the same is defined?
-
Which access specifier/s can help to achive data hiding in C++?
-
Name the default standard streams in C++.?
-
Do we have a String primitive data type in C++?
-
Define a destructor?
-
When a class member is defined outside the class, which operator can be used to associate the function definition to a particular class?
-
Define the data type to store the Boolean value?
-
Can it be overloaded? What is a constructor?
-
What do you mean by function overloading?
-
Can I use malloc() function of C language to allocate dynamic memory in C++?
-
What do you mean by a default constructor?
-
Distinguish between the keywords struct and class in C++?
- Advertisement
-
Can we implement all the concepts of OOPS using the keyword struct?
-
Does C++ supports exception handling?
-
Which operator can be used in C++ to allocate dynamic memory?
-
Tell the purpose of 'delete' operator?
-
Can I use 'delete' operator to release the memory which was allocated using malloc() function of C language?
-
Define a friend function?