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 use of stl?
Explain stl.
How Find, Replace and Go To commands ca be used to substitute one character string for another? Explain with the heIp of an example.
differentiate between private, public and protected data members of the class using example.
How connect plc and pc through software
Find the error in the following program struct point {struct point *next; int data; } x; main() {int...data; } x; main() {int i; for(x=p;x!=0;) x=x->next,x++; freelist(x); } freelist(x) {free(x); return }
What is the STL?
What does stl mean in slang?
why does the execution of a c++ program start with main()???
How do I convert a stl file?
Write a program in C/C++ to implement reader- writer problem
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