write a piece of c++ code which allocate memory to the 50
object of type CObj
Answer Posted / santhosh k
#include<iostream.h>
class CObj
{
};
int main()
{
CObj **obj=new CObj *[50];
for(i=0;i<50;i++)
{
obj[i]=new Cobj[10];
}
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the components of stl?
What is a stl vector?
What are stl algorithms?
What are the various types of stl containers?
What is a standard template library (stl)?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
What is stl stack?
what is template and type convertion
sir please send me bpcl previous question papers
Name the different types of stl containers.
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files.
Is there any error below, its a code to delete all entires from a map #include
What is the stl, standard template library?
What is stl in oop?
Why should a c++ programmer be interested in stl?