Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C++ compiler can allocate dynamic memory for object?
#1
C++ compiler can allocate dynamic memory for object?
Reply
#2
Yes, it is right to say that in C++, there is a concept to allocate memory dynamically by using "new" operator. This operator not only allocates memory dynamically but also initialize the particular object with some default values.

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  What is the difference between “object = this->object” and “this->object=object”? Vuhelper 0 4,046 01-04-2012, 10:17 PM
Last Post: Vuhelper
  how can identify interface for an object Vuhelper 0 2,033 11-05-2011, 05:29 PM
Last Post: Vuhelper
  what does it mean " this->object=object"? Vuhelper 0 2,068 11-05-2011, 05:21 PM
Last Post: Vuhelper
  get length of a dynamic array in c++ 2011 Vuhelper 0 874 07-20-2011, 10:50 PM
Last Post: Vuhelper
  Memory pool & char array questions in C++ for 2011 Xpert 0 2,254 05-12-2011, 09:16 PM
Last Post: Xpert
  Is it possible to make data type array which act as java Class Object in dev c++ 2011 Xpert 0 2,560 05-12-2011, 09:00 PM
Last Post: Xpert
  Dangling pointer memory leakage Data operations saneha 0 2,499 05-02-2011, 05:43 PM
Last Post: saneha
  What is the object state. in c++ 2011 saneha 1 1,793 05-02-2011, 05:24 PM
Last Post: Vuhelper
  In aggregation we use a pointer e.g. like chair object in a room class saneha 1 2,555 05-02-2011, 04:48 PM
Last Post: Vuhelper
  is the dot operator connect the class object and a member of that class? saneha 1 2,741 05-02-2011, 06:41 AM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)