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
Why should we use null or zero in a program?
What does it mean to declare a member variable as static?
C is to C++ as 1 is to a) What the heck b) 2 c) 10
What is the difference between a baller and a reference in C++?
What are the various access specifiers in c++?
What are dynamic type checking?
What is a c++ map?
What is an adaptor class in c++?
Why do we use setw in c++?
What are guid?
Can you please explain the difference between using macro and inline functions?
Explain the concept of dynamic allocation of memory?
What is the return value of the insertion operator?
You want to link a c++ program to c functions. How would you do it?
What are member functions used in c++?