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
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is stl language?
What are the components of stl?
What is stl stack?
What is the stl, standard template library?
How do you convert stl to steps?
How is stl different from c++ standard library?
What does stl mean in slang?
What is a stl vector?
What is a standard template library (stl)? What are the various types of stl containers?
How stl is different from the c++ standard library?
What are the symptoms of stl?
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
What two types of containers does the stl provide?
What is a standard template library (stl)?