What is the difference between Class and Structure?
Answer Posted / pratiksha desarda
while creating variables of structure,it is compulsary to
write 'struct' keyword. and for creating object of class,
keyword 'class' is not necessary to write.
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What apps are written in c++?
What is the difference between #import and #include?
Distinguish between new and malloc and delete and free().
What are static variables?
Explain the uses oof nested class?
Difference between pass by value and pass by reference?
What are formatting flags in ios class?
Is turbo c++ free?
What is the use of ::(scope resolution operator)?
Write about all the implicit member functions of a class?
How do you decide which integer type to use?
Differentiate between the manipulator and setf( ) function?
What do you mean by funtion prototype?
Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.
Write about the local class and mention its use?