1 votes 1 votes Programming in C made-easy-test-series programming-in-c programming + – Kashyap Avinash asked Jan 6, 2017 • edited Mar 6, 2019 by adeebafatima1 Kashyap Avinash 350 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
4 votes 4 votes Output would be 2,5 Here the left shift operation doesn't affect variable P, as we are not storing it back to P. So P remains 2 and before the loop breaks, i=3, so finally Q=5. Pratyush Madhukar answered Jan 6, 2017 • edited Jan 12, 2017 by Pratyush Madhukar Pratyush Madhukar comment Share Follow See 1 comment See all 1 1 comment reply Prateek kumar commented Apr 18, 2017 reply Follow Share why do we need to store the value of "p" it will print last value I guess 0 votes 0 votes Please log in or register to add a comment.