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 is operator overloading in c++ example?
Explain the problem with overriding functions
What is the rule of three?
Which one is a preferred language C or C++? Why?
Describe private, protected and public – the differences and give examples.
What is the difference between a reference and a pointer?
Is it possible to provide default values while overloading a binary operator?
What is a unnitialised pointer?
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
How do pointers work?
What is scope operator in c++?
What is Destructor in C++?
which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?
What is the standard template library (stl)?
Explain rethrowing exceptions with an example?