What is the difference between Class and Structure?
Answer Posted / bitdeveloper
<a
href="http://questionscompiled.com/answer.jsp?technology=cpp&qid=141">questionscompiled.com</a>
Classes and Structures in C++ are same except class defaults
to private and structures to public. They can have data
members, member function, this pointer, static member functions.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are arithmetic operators?
How would you use the functions memcpy(), memset(), memmove()?
What are the benefits of oop in c++?
What is an operator function? Describe the function of an operator function?
What is polymorphism and its type in c++?
Is there structure in c++?
Write about the scope resolution operator?
Which format specifier is used for printing a pointer value?
Why do we need pointers?
Is c++ harder than java?
How do I make turbo c++ full screen?
What is the difference between an external iterator and an internal iterator?
Is C++ case sensitive a) False b) Depends on implementation c) True
What is the difference between #define debug 0 and #undef debug?
Explain the operation of overloading of an assignment operator.