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
Describe the setting up of my member functions to avoid overriding by the derived class?
How do I use turbo c++?
What do you mean by enumerated data type?
What are the types of pointer?
How many static variables are created if you put one static member into a template class definition?
What are the sizes and ranges of the basic c++ data types?
Explain how to initialize a const data member.
What do you mean by inheritance in c++?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
What is the output of the following program? Why?
what do you mean by volatile variable?
How many standards of c++ are there?
Do you know the use of vtable?
What is the full name of logo?
What is the advantage of c++ over c?