Difference between Class and Struct.
Answer Posted / frozan maqsoodi
the main difference is the default access specifier.
constructors can be declared in structures. try it, you
will get the answer.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the use of typedef in structure in c?
How can you determine the size of an allocated portion of memory?
Explain union.
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
write a c program for swapping two strings using pointer
What is difference between function overloading and operator overloading?
what is the different bitween abap and abap-hr?
What is main () in c language?
What is the advantage of using #define to declare a constant?
What are the different types of pointers used in c language?
What is the difference between c and python?
Is c call by value?
What are structures and unions? State differencves between them.
How to declare pointer variables?
What are header files? What are their uses?