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
Assam Direct Recruitment Test Series

Computer Science Topics