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]