What is the difference between Class and Structure?
Answer Posted / lucky
1) classes can have data member as well as member function but structure is a data type which can have data member only.
Is This Answer Correct ? | 40 Yes | 31 No |
Post New Answer View All Answers
Why cout is used in c++?
What is else if syntax?
Differentiate between a constructor and a destructor in c++.
What is fixed in c++?
What is the difference between #define debug 0 and #undef debug?
What does #define mean in c++?
To which numbering system can the binary number 1101100100111100 be easily converted to?
What are member functions used in c++?
What does new do in c++?
Is c++ a difficult language?
Describe the role of the c++ in the tradeoff of safety vs. Usability?
What are the five basic elements of a c++ program?
What is c++ & why it is used?
How many namespaces are there in c++?
How do you flush std cout?