Option a is the correct answer for the above question
Explanation:
The above question code has one for-loop which runs two times only for the value of number=20.
It is because when the if-condition will true then the loop will be exit because it holds the break statement which exits the for-loop when the if-condition will be true.
So when the first time 20 will divide by 3 then if-condition will fail, but when the 20 will be divide by the 5, then the if condition will be true and the 5 will be printed as output.
Then the second if-condition will false because it will be true for the 20 value of i.
Hence option a is the correct answer while the other is not correct because others will not hold the output of this code.
The middle node has a data –250. ... Write The Pseudocode To Replace The Middle Node Of The Linked List With ... Assume That The List's Head Pointer Is Called Head_ptr And The Data For The New Node Is Called Entry ... Assume that the list's head pointer is called head_ptr and the data for the new node is called entry ...