What is the difference between Class and Structure?

Answer Posted / anand

structure is used space in memory permanently but in class members are not used space permanently there is erase with the time and use other member this memory space

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a volatile variable in c++?

563


Is c++ platform dependent?

637


What is lambda expression c++?

580


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

593


What happens when the extern "c" char func (char*,waste) executes?

640






Explain the concept of copy constructor?

623


Is c++ the hardest programming language?

644


What parameter does the constructor to an ofstream object take?

616


How the delete operator differs from the delete[]operator?

648


What is a class template?

593


How is modularity introduced in C++?

770


Keyword mean in declaration?

600


What is a pointer with example?

663


What can c++ be used for?

585


what is data abstraction in C++?

655