Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

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]
Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Random GK Questions

Assam Direct Recruitment Test Series

Computer Science Topics