GkSeries.com

Q.

Study the following ā€˜Cā€™ program

#include <stdio.h>
void main ()
{ 
    static a, b;
    while (a > b ++)
}

What will be the value of a and b on the execution of above program?

[A] a = 0, b = 1
[B] a = 0, b = 0
[C] a = 1, b = 1
[D] none of these
Answer & Explanation
Option: [A]

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Please share this page

Click Here to Read more questions

Teacher Eligibility Test