GATEverse Practice, past papers & mock tests
GATE 2024 · CS1 - Forenoon
Programming & Data StructuresProgrammingmediumMCQ1 mark
Consider the following C program:
c
#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?
Save your progress

Related Programming & Data Structures PYQs