What is the difference between Class and Structure?
Answer Posted / deepica
in classes we can declare variables and functions while in structure we can have only functions.In classes we have ACCESS SPECIFIER,while in structures we dont have any.Ic classes no Keyword is used ,while in Structures STRUCT keyword is used.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Describe exception handling concept with an example?
List down the guideline that should be followed while using friend function.
What do you understand by zombie objects in c++?
A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
What things would you remember while making an interface?
What is lazy initialization in c++?
Write a program in c++ to print the numbers from n to n2 except 5 and its multiples
What are formatting flags in ios class?
How do we balance an AVL Tree in C++?
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?
What is linked list in c++?
What are the basic data types used in c++?
What is the default width for ouputting a long integer using the insertion operator?
How much is c++ certification?
What is encapsulation in c++?