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 pointer in c++ with example?
What do you mean by inheritance in c++?
What are disadvantages of pointers?
What are the two types of comments, and how do they differ?
What is the default access level?
When you overload member functions, in what ways must they differ?
Why use of template is better than a base class?
Which is not a valid keyword a) public b) protected c) guarded
Does c++ have finally?
Can create new c++ operators?
When can I use a forward declaration?
What is encapsulation in c++ with example?
What is the use of setfill in c++?
Will a catch statement catch a derived exception if it is looking for the base class?
Differences between private, protected and public and give examples.