adplus-dvertising
frame-decoration

Question

What is a class in C++?

a.

A data structure that can have code members.

b.

A function that manages the data stored in a data structure.

c.

A hierarchy of functionally related classes.

d.

A set of code constructs.

Posted under Reverse Engineering

Answer: (a).A data structure that can have code members. Explanation:A class in C++ is essentially a data structure that can have code members, which usually manage the data stored within the class.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is a class in C++?