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 swap two numbers in a linked list without exchanging the data but only the links?
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
Explain stl.
What is a stl vector?
Write a program in C++ to concatenate two strings into third string using pointers
c# support late binding or early binding.
why & sign is used in copy constructor
What two types of containers does the stl provide?
write a program to convert a decimal number in to its equivalent binary number?
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 are the various types of stl containers?
What is a list in c++ stl?