What is the difference between Class and Structure?
Answer Posted / sharad
in c++ structure and class are same. we can use the
structure in place of class for creating the object. but
the difference is only the default access specifier of the
class is private and public of the structure.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What does it mean to declare a member function as static?
To which numbering system can the binary number 1101100100111100 be easily converted to?
What is enum class in c++?
Why are pointers not used in c++?
How do I run a program in notepad ++?
Which programming language should I learn first?
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
What are the types of array in c++?
Why cout is used in c++?
What is meant by a delegate?
Specify different types of decision control statements?
Which programming language is best to learn first?
Does c++ support exception handling?
What is insertion sorting?
Explain what you mean by a pointer.