1. Why we need to change pointer variable name temp when we create new Node?
2. What is the meaning of Null when it is assigned in any Node(address part )?
1.Ans:
We need to change the pointer variable name temp when we create new node because the compiler will take the latest name of variable thats why we change the variable name.
2.Ans :
Null in any Node means the next have no values and this is the last Node and not linked with any Node.
Answer to the question no-01
Link-list When creating a new node we need to name the pointer variable, which is called temp. Because when we allocate memory when creating a new node and calling a temp, the previous node repeatedly calls a pointer variable called a tempSo, I will not be able to create new nodes and enter data into them. So we have to change the name of the pointer variable temp when creating a new node in the link-list.
Answer to the question no-02
The meaning of a null to the address part of a node indicates that the node is not linked up with any other node next to it. So this node will not point to any next node.The node is the last node and not linked with any node.
Answer to the question no 1:
We need to rename the pointer variable name temp when creating a new node in the link-list, because when we dispense memory to make another node and settle on a temp decision, the past node will consistently call a pointer variable called temp. Along these lines, I won't have the option to make new node and enter information into them. So we need to change the name of the pointer variable temp while making another node in the connection list.
Answer to the question no 2:
The meaning of a null to the address part of a node indicates that the node is not linked up with any other node next to it.
Answer to the question No : 1
We need to change the pointer variable name temp when we create new node because the compiler will take the latest name of variable so this is the reason why we change the variable name.
Answer to the question No : 2
Null in Node means the next node have no values and this is the last Node and not linked with any Node.
ANSWER:01
We need to rename the pointer variable temp when creating a new node in the linklist. This is because when we allocate memory to create a new node and make a temp call, the previous node will repeatedly call a pointer variable called temp.ANSWER :02
The meaning of a null to the address part of a node indicates that the node is not linked up with any other node next to it. This node will not point to any next node.The node is the last node and not linked with any node.Ans. to the question no. 1
The pointer variable name temp needs to be renamed when creating a new node in the link-list during dispensing memory to make another node and settle on a temp decision, a pointer variable named as temp will be consistently called by the past node..Ans. to the question no. 2
Null when it is assigned in any node, means that the node is not linked up with any other node next to it. The node is the last node and not linked with any node and will not point to any next node.Answer To The Question No: 01
Answer To The Question No: 02
#Answer for question:-01
We need to temporarily name the pointer variable when creating a new node in the link list. This is because when we allocate memory to create a new node and call a temp, the previous node repeatedly calls a pointer variable called a temp. As a result, I will not be able to create new nodes and enter data into them. So we need to rename the pointer variable temp when creating a new node in the link list.
#Answer for question:-02
Assigning a null to the address portion of a node indicates that the node is not connected to any other node next to it. This node will not point to any next node. Therefore, if we do not take more nodes, we assign null to the address portion of the last node.
1 :- Because of the compiler will take the latest name of the variable for this We have to change the pointer variable name temp when we create a new node.
2 :- The significance of null to the location part of a node shows that the node isn't connected up with some other node close to it.
Answer to the question number:1
We need to change the pointer variable name temp when we create new node because the compiler will take the letest name of variable thats why we change the variablr name.
Answer to the question number :2
Null is any node means the next have no values and this is the last node and not linked with any node.therefore we assign null to the address portion of the last node if we do not take any further nodes.