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 |
totoo po ba ang manga aliens!
Explain References in C++
what is c++
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
Write a program in C/C++ to implement reader- writer problem
Give the output of the following program main() {int ret; ret=fork();ret=fork();ret=fork();ret=fork(); if(!ret) printf("sun"); else printf("solaris");
What is a standard template library (stl)? What are the various types of stl containers?
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 "
what are you now programming Languages C+
What is Template Specialization?
To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command
what's the difference between function overloading and function overiding?