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 the difference between struct and class?
Can create new c++ operators?
How should runtime errors be handled in c++?
What is virtual destructor ans explain its use?
Explain pass by value and pass by reference.
What is a stack c++?
Why is the function main() special?
List the types of polymorphism in c++?
Can we use clrscr in c++?
Write a program which uses Command Line Arguments
What is the v-ptr?
Explain linear search.
What are the manipulators in c++?
State two differences between C and C++.
What does the ios::ate argument do?