What is the difference between Class and Structure?
Answer Posted / amit
strucuter member function and variable are by defualt
public and class member varible and funtion are by defualt
private.
sructure can not inherited but class can .
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the use of vtable?
What is the difference between strcpy() and strncpy()?
List down the guideline that should be followed while using friend function.
Is c the same as c++?
What does flush do c++?
Write a c program for binary addition of two 8 bit numbers.
What is long in c++?
What is called array?
Why do we use structure in c++?
What is a constructor and how is it called?
How come you find out if a linked-list is a cycle or not?
Explain deep copy?
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
Do you know about C++ 11 standard?
What is a unnitialised pointer?