What is the difference between Class and Structure?
Answer Posted / hardik savani
class is refrains type and structure is value type most op
us variable public and private in class.
public variable is use any component and private variable is use only class property
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
What are static member functions?
What is polymorphism & list its types in c++?
Explain virtual class?
What is a constructor in c++ with example?
How does class accomplish data hiding in c++?
What does namespace mean in c++?
What is constructor and destructor in c++?
What is the difference between a baller and a reference in C++?
What is a block in c++?
How would you use the functions randomize() and random()?
Can member data be public?
What is lambda in c++?
What is the identity function in c++? How is it useful?
Explain the difference between abstract class and interface in c++?
What are c++ templates used for?