write a piece of c++ code which allocate memory to the 50
object of type CObj
Answers were Sorted based on User's Feedback
Answer / 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 |
what is the difference between thread and process
HOW TO GET "H1B" -VISA 4 USA FOR MY SON?HE HAD COMPLETED "MS"(IT)FROM AUSTALIA 2007.I AM WORKING IN U.S.A.
write a program that input four digit number and find how many 7 that number contains
What are the different types of stl containers?
What is the underlying datastructure of map?
Write a program in C++ returning starting locations of a substring using pointers
please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html
What is Template Specialization?
What is a standard template library (stl)?
Define the terms: field, record, table and database
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.
Is stl open source?