Answer Posted / mahan
struct has come into c++ from C. It enables to group together different elements of different types so that we can access them together. Basically it simplifies memory access. All members in a struct have their access as public.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you find out if a linked-list has an end?
What is c++ course?
What are friend classes? What are advantages of using friend classes?
How do I run c++?
How to declare a function pointer?
what does the following statement mean? int (*a)[4]
What is java and c++?
Which should be more useful: the protected and public virtuals?
Define what is constructor?
Explain virtual destructor?
Can we declare a base-class destructor as virtual?
What is the best c++ book for beginners?
What is namespace & why it is used in c++?
What is a static element?
Define linked lists with the help of an example.