Answer Posted / vinay bondade
Everything for what a class is implemented holds good for
structure also in C++. The only difference is the
attributes in a class if access specifiers are not
specified they are Private members but for structure they
are public members.
| Is This Answer Correct ? | 24 Yes | 1 No |
Post New Answer View All Answers
What are references in c++? What is a local reference?
Explain the operation of overloading of an assignment operator.
What is the importance of mutable keyword?
What are the general quetions are in DEna bank manager IT/System interviews?
If you don’t declare a return value, what type of return value is assumed?
What is an operator in c++?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
How do you flush std cout?
What is the protected keyword used for?
Differentiate between a constructor and a method in C++.
Write a program to find the Fibonacci series recursively.
What are advantages of using friend classes?
Is linux written in c or c++?
What is a constant? Explain with an example.
What's the hardest coding language?