Answer Posted / glibwaresoftsolutions
In C++ interview questions, one common topic is the different data types available. C++ data types are broadly classified into three categories:
• Primitive: Primitive data types include fundamental types like int, float, char, and bool.
• Derived: Derived data types are more complex and include arrays, pointers, and functions.
• User-Defined: User-defined data types, such as classes, structures, and unions, allow programmers to define custom data types.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a class definition?
How do you establish an is-a relationship?
What is virtual table?
What is the use of structure in c++?
Explain what data encapsulation is in c++?
When are exception objects created?
How to get the current position of the file pointer?
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
What's the order in which the objects in an array are destructed?
What are protected members in c++?
When there is a global variable and local variable with the same name, how will you access the global variable?
What is a binary file? List the merits and demerits of the binary file usagein C++.
Explain terminate() function?
What is singleton class in c++?
What can I use instead of namespace std?