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

Define basic type of variable used for a different condition in C++?

670


What is array give example?

603


What is a base class?

607


What is a hashmap c++?

574


What is the basic concept of c++?

580






What is meant by iomanip in c++?

612


Explain shallow copy?

616


How would you implement a substr() function that extracts a sub string from a given string?

571


the maximum length of a character constant can be a) 2 b) 1 c) 8

602


What is main function in c++ with example?

568


When can I use a forward declaration?

626


what are the iterator and generic algorithms.

1465


How do I make turbo c++ full screen?

588


What is purpose of new operator?

601


What are the advantages of using pointers in a program?

683