What is a container class? What are the types of container classes?
Answer / subham chaudhary
A container class is a class that is used to hold objects in memory or external storage. A container class acts as a generic holder. A container class has a predefined behavior and a well-known interface. A container class is a supporting class whose purpose is to hide the topology used for maintaining the list of objects in memory. When a container class contains a group of mixed objects, the container is called a heterogeneous container; when the container is holding a group of objects that are all the same, the container is called a homogeneous container.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is c++ a software?
What is an inline function in c++?
What is oops in c++?
Write a program using display() function which takes two arguments.
if i want cin 12345678910 and cout abcdefghij. so how can i create the program?. example : if i key in 8910 so the answer is ghij.
Define what is constructor?
write a program that will produce the ff. output. "what fruit will you buy? 1)apple 2)orange 3)mango ENTER CHOICE (1,2 or 3)> HOW MANY WILL YOU BUY?> THAT WILL COST XX.XX
What size is allocated to the union variable?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
Write a program to find the reverse Fibonacci series starting from N.
What c++ is used for?
Explain some examples of operator overloading?