What is the difference between Class and Structure?

Answer Posted / anupam gupta

class has define object and funtion
structure has define only object

Is This Answer Correct ?    8 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is this pointer in c++?

728


Difference between a copy constructor and an assignment operator.

563


What is a null object in c++?

629


Is c++ a low level language?

509


What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

774






Why is c++ awesome?

568


Write a program which uses functions like strcmp(), strcpy()? etc

610


What is the difference between map and hashmap in c++?

553


Show the declaration for a pointer to function returning long and taking an integer parameter.

571


Define pre-condition and post-condition to a member function in c++?

654


What is static function? Explain with an example

557


What are the extraction and insertion operators in c++? Explain with examples.

641


What are the advantages of c++?

589


What is private public protected in c++?

547


What is data binding in c++?

504