Podcast
Questions and Answers
What does 'q assign p' mean?
What does 'q assign p' mean?
- q will have the same value as p (correct)
- q will point to the same node as p
- q will create a new node
- q will have a different value than p
What happens when 'q assign p' is executed?
What happens when 'q assign p' is executed?
- q will store the value of the node pointed by p
- q will point to the previous node of p
- q will store the address of the node pointed by p (correct)
- q will create a new node with the same value as p
What is the meaning of 'p assign q'?
What is the meaning of 'p assign q'?
- p will point to the same node as q (correct)
- p will create a new node with the same value as q
- p will store the value of the node pointed by q
- p will store the address of the node pointed by q
What does 'q assign p is next' signify?
What does 'q assign p is next' signify?
If 'p assign q is next' is executed, what will happen?
If 'p assign q is next' is executed, what will happen?