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
What are c++ tokens?
What is code reusability in c++?
What is pure virtual function?
How are the features of c++ different from c?
What is a tuple c++?
What is the difference between #import and #include in c++?
List the merits and demerits of declaring a nested class in C++?
Is it possible to use a new for the reallocation of pointers ?
What is endl?
List different attributes in C++?
Difference between a homogeneous and a heterogeneous container
What is the output of the following program? Why?
What is a singleton c++?
Write a function to find the nth item from the end of a linked list in a single pass.
What does new in c++ do?