Algorithms Quiz | Sudo Placement [1.5] | Question 7
Below is the incomplete code for printing Fibonacci sequence. Which statement could be inserted at "code to be inserted" statement, such that code will run perfectly?
(A) b = a – b; b = b + a;
(B) b = a + b; a = a – b;
(C) b = a + b; a = b – a;
(D) None of these.
Explanation: Refer : https://www.geeksforgeeks.org/print-fibonacci-sequence-using-2-variables/
Quiz of this Question