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 |
how to use C++?
What is stl in c++ with example?
wap in c++ which accept a integer array and its size as argument and replaces element having even values with its half and element having odd values with twice its value
How can you create a bulleted list, numbered list and an outline by using bullets and numbering command. Explain with the help of example.
What is a list in c++ stl?
Waht is inheritance
How is stl different from c++ standard library?
sir please send me bpcl previous question papers
0 Answers BPCL Bharat Petroleum,
write a piece of c++ code which allocate memory to the 50 object of type CObj
What is a standard template library (stl)?
How stl is different from the c++ standard library?
How does an stl file work?