Thread: whats th difference between *ptr and **ptr in a signature..

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Banned
    Join Date
    Oct 2008
    Posts
    1,535

    whats th difference between *ptr and **ptr in a signature..

    when i got in my function signature node *ptr it takes the pointer as a parameter.

    what happens if its node **ptr

    i know that node* is a type of variable in a funtion
    it says "take a node type variable called ptr"

    but when i do node **ptr
    by my logic it says "take a node type variable called *ptr"


    i was told that in the node *ptr we cant change the parameter
    but int the ** we can

    and i cant see how it goes in the memory
    whats the difference?
    Last edited by transgalactic2; 12-14-2008 at 04:00 PM.

Popular pages Recent additions subscribe to a feed