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|
Does c++ have string data type?
What is searching? Explain linear and binary search.
How the programmer of a class should decide whether to declare member function or a friend function?
Is c# written in c++?
Write a program which employs Recursion
What are the benefits of oop in c++?
What is different in C++, compare with unix?
What is the purpose of the "delete" operator?
State the difference between delete and delete.
What is the meaning of string in c++?
What is a pointer with example?
Is it possible to use a new for the reallocation of pointers ?
What is the role of copy constructor in copying of thrown objects?
What is the protected keyword used for?
What is the difference between reference and pointer?