what is the difference between class and structure in C++?
Answer Posted / pradeepramagiri
class members have the privite access by default where as
structure members have the public access by default
| Is This Answer Correct ? | 34 Yes | 2 No |
Post New Answer View All Answers
Can static class have constructor?
Why do we use oop?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is meant by oops concept?
What is an interface in oop?
When not to use object oriented programming?
What is inheritance in simple words?
What is an example of genetic polymorphism?
What is class and object with example?
What are different oops concepts?
What is for loop and its syntax?
What is class and example?
Why is polymorphism used?
What is object in oops?
What are benefits of oop?