php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why we have declared these two TreeNode pointers left
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
Sir, 1)My question is why we have declared these two TreeNode pointers left , right within the same TreeNode class, can we use other pointers like integer or etc? 2)If we have declared TreeNode pointers within the same class then these pointers also holds the value like Object , left and right? All I am asking cause behind doing this I have a sort of confusion with this, plz explain briefly.... Class TreeNode { private: Object * object; TreeNode * left; TreeNode * right; 62. }; // end class TreeNode };
Reply


Messages In This Thread
why we have declared these two TreeNode pointers left - by saneha - 05-02-2011, 05:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Dangling Pointers Explain in C++ Vuhelper 0 7,354 05-31-2012, 01:52 AM
Last Post: Vuhelper
  what is the difference between 1. Double Right-Left Rotation 2. Double Left-Right Rot Vuhelper 0 2,091 01-04-2012, 10:37 PM
Last Post: Vuhelper
  reenode* node = new treenode(info); Vuhelper 0 1,858 01-04-2012, 10:18 PM
Last Post: Vuhelper
  why we use pointers or reference except using real name of var. what is buffer point saneha 1 9,974 05-02-2011, 06:24 PM
Last Post: Vuhelper
  why we use pointers or reference except using real name of var. what is buffer point saneha 1 5,320 05-02-2011, 06:05 PM
Last Post: Vuhelper
  Pointers are not accessible for static member funcion saneha 1 2,365 05-02-2011, 05:48 PM
Last Post: Vuhelper
  static member function can be declared explicitly? saneha 1 5,042 05-02-2011, 06:56 AM
Last Post: Vuhelper
  Pointers in c++ 2011 saneha 1 2,914 05-02-2011, 06:30 AM
Last Post: Vuhelper
  Linux Unix Windows Mac OS If a function has not been declared before its definition, sana.pari 0 3,627 04-24-2011, 05:56 PM
Last Post: sana.pari
  declared one varibale char s1[10] but when i am inputing the string sana.pari 1 1,208 04-24-2011, 02:11 AM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support