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 |
sir please send me bpcl previous question papers
0 Answers BPCL Bharat Petroleum,
Assume I have a linked list contains all of the alphabets from "A" to "Z?" I want to find the letter "Q" in the list, how does you perform the search to find the "Q?"
What is a list in c++ stl?
What Is Operator Overloading in C++?
What is a stl vector?
What do stl stand for?
write a c++ program to create an object of a class called employee containing the employee code name designation basic salarry HRA Da gross salary as data 10 such objects "members process "
if x<>=z then statement end what is the cyclomatic complexity
what is template and type convertion
c# support late binding or early binding.
how to swap two numbers in a linked list without exchanging the data but only the links?
Give the output of the following program main() {char *p='a'; int *i=100/*p; } what will be the value of *i= 1