What is the difference between Class and Structure?

Answer Posted / mm .mm

class can be used in other project ... but stucture can not
be used it's only present in the main

Is This Answer Correct ?    20 Yes 48 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a c++ vector?

589


Mention the storage classes in c++.

645


Using a smart pointer can we iterate through a container?

559


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

582


Is java based off c++?

529






What is math h in c++?

602


What is the role of C++ shorthand's?

674


How does a C++ structure differ from a C++ class?

620


Is c++ slower than c?

571


To what does “event-driven” refer?

608


How is new() different from malloc()?

628


What do manipulators do?

568


What is static function? Explain with an example

560


Is string data type in c++?

579


What c++ is used for?

579