Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
reenode* node = new treenode(info);
#1
reenode* node = new treenode(info); Does this statement means that node is a pointer to treeenode of type int which store the memory address of newly created treenodeof type int from the heap and info is passed as an argument to the treenode.? if explanation is wrong then please rectify it?


In this code a new node is created and info is passed as a parameter.

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 existing node and root node Vuhelper 0 2,142 01-04-2012, 11:09 PM
Last Post: Vuhelper
  how to insert a new node on AVL tree using double rotation? Vuhelper 0 2,676 01-04-2012, 10:31 PM
Last Post: Vuhelper
  how can we delete a node with two childs in binary tree??using its right sub tree Vuhelper 0 2,598 11-05-2011, 05:27 PM
Last Post: Vuhelper
  , Node* new node = new Node(9) its mean new node points to Node. The address of new n Vuhelper 0 2,571 10-13-2011, 10:38 PM
Last Post: Vuhelper
  why we have declared these two TreeNode pointers left saneha 1 2,162 05-02-2011, 05:15 PM
Last Post: Vuhelper
  difference between implementation and encapsulation,How can we access the hidden info saneha 1 2,330 04-29-2011, 07:23 AM
Last Post: Vuhelper
  info regarding "source file not compiled" sana.pari 1 3,097 04-24-2011, 02:13 AM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)