What is the difference between Class and Structure?
Answer Posted / vinod
The difference between a class and a structure is that, by
default, all of the members of a class are private and also private,public and protected but in structure by
default, all of the members of a structure are public.
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
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
What is the difference between a type-specific template friend class and a general template friend class?
What are the steps in the development cycle?
What is a memory leak c++?
Define a pointer to a data member of the type pointer to pointer?
What can c++ be used for?
What are the uses of pointers?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
What is setfill c++?
What is the use of main function in c++?
Give 10 points of differences between C & C++.
Is c++ the best programming language?
What is the best c++ ide?
Explain the virtual inheritance in c++.
Distinguish between a # include and #define.