C++/C++ vs C


What is difference between c structure and c++ structure  

Hello Meghaladevi, thank you for the question.

In C++, structures work the exact same way as classes do. They can have a constructor, a destructor and a this pointer to the invoking object. C structures function normally and cannot have an invoking object, or member functions associated with it.

I hope this information was helpful.

- Eddie


All Answers

Answers by Expert:

Ask Experts




I can answer questions about the C++ language, object oriented design and architecture. I am knowledgable in a lot of the math that goes into programming, and am certified by ExpertRating.com. I also know a good deal about graphics via OpenGL, and GUIs.


I have completed numerous games and demos created with the C++ programming language. Currently employed as a software engineer in the modeling and simulation field. I have about 7 years experience.

©2017 About.com. All rights reserved.

[an error occurred while processing this directive]