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
Can we use stl in coding interviews?
a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.
sir please send me bpcl previous question papers
How connect plc and pc through software
write a program to convert a decimal number in to its equivalent binary number?
What does stl mean in slang?
What are the components of stl?
In what scenario does the Logical file and Physical file being used?
Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister
How do you convert stl to steps?
Define stl.
What are the various types of stl containers?
How does an stl file work?
Explain stl.
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.