What is the difference between Class and Structure?

Answer Posted / rafat-+8801671123467

class is class and structure is structure.

Is This Answer Correct ?    6 Yes 36 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a stack c++?

567


When should I use unitbuf flag?

586


What are mutator methods in c++?

641


What is tellg () in c++?

719


Write a struct time where integer m, h, s are its members?

516






Which is not a valid keyword a) public b) protected c) guarded

740


Differentiate between late binding and early binding. What are the advantages of early binding?

578


What is the extraction operator and what does it do?

612


What are the types of container classes?

614


Explain how to initialize a const member data.

598


How do pointers work?

703


What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor

672


What is constructor in C++?

626


Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

3696


What is c++ code?

582