Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2024 Set 1
Questions

Q8

MCQ1 mark, −0.33Programming

Consider the following C\mathrm{C} program:

#include <stdio.h>
int main() {
    int a=6;
    int b = 0;
    while (a<10) {
        a = a / 12+1 ;
        a += b ;}
    printf ("%d", a);
    return 0 ; }

Which one of the following statements is CORRECT?

Sign in to save attempts.

The solution is hidden while you attempt this question. It opens once you check or show the answer.