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 can you tell what shell you are running on unix system?
Name the operators that cannot be overloaded in C++?
What is the syntax for a for loop?
Are c and c++ different?
What are destructors?
Is recursion allowed in inline functions?
Describe linkages and types of linkages?
Do you know what are pure virtual functions?
What is the use of function pointer?
Using a smart pointer can we iterate through a container?
How much is c++ certification?
what is Member Functions in Classes?
Explain class invariant.
How do you clear a set in c++?
What is time h in c++?