What are the differences between a struct in C and in C++?

Answer Posted / nithin

what is the use of struct in c then? wat advantages does it
offer?

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you write a function that can reverse a linked-list?

545


Carry out conversion of one object of user-defined type to another?

583


Show the application of a dynamic array with the help of an example.

562


Is c++ fully object oriented?

532


What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?

593






What are c++ tokens?

573


Which bit wise operator is suitable for turning off a particular bit in a number?

618


What are arrays c++?

585


What do you mean by funtion prototype?

555


Tell me can a pure virtual function have an implementation?

527


What is ofstream c++?

568


What is an adaptor class in c++?

575


What does flush do c++?

537


Write bites in Turbo c++ Header ("Include") Files.

663


Why do we need templates?

522