write a piece of c++ code which allocate memory to the 50
object of type CObj

Answer Posted / tara

CObj *obj = new CObj [50];

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are stl algorithms?

627


Who created stl?

658


Why should a c++ programmer be interested in stl?

647


Who wrote stl?

682


How do I convert a stl file?

570






What is meant by stl in c++?

657


please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html

1778


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

1978


What is the stl, standard template library?

600


What is stl in c++ with example?

639


Is there any error below, its a code to delete all entires from a map #include #include iostream.h int main() { int i =0; map TestMap; while(i<3) { TesMap.insert(TestMap::value_type(i,Test)); i++; } typedef map :: iterator mapIter =TestMap.begin(); if(mapIter!=TestMap.end()) { TestMap.erase(mapItrer); ++mapIter; } return 0; }

1896


What are the different types of stl containers?

652


Define stl.

780


What is a stl vector?

628


What are the symptoms of stl?

609