Question: Can anyone give the answer and explain why that is the answer and how the program works ? 24) what is the output of the
Can anyone give the answer and explain why that is the answer and how the program works ?
24) what is the output of the following segment of code? int n=100, while (n > cnt=0; 0) ent++; n = n/2; printf ( "n?d, cnt=%d " , n, cnt) ; A) n=0, ent#6 B) n=0, cnt=7 c) n#0, cnt 50 D) n=1 , cnt-7 E) None of the Above
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
