📚 Question Bank Q25 — Programming and Data Structure
Tags
Programming and Data Structure
Q25. Marks: +2.0 UGC NET Paper 2: Computer Science 7th Dec 2023 Shift 2

What is the output of the following program?

#include<stdio.h >

int main()

{ int i=3;

while (i--)

{ int i=10;

i--;

printf("%d", i);

}

printf("%d", i);

}

1.990
2.9990
3.999 - 1 ✓ Correct
4.99 - 1
📄 All “Programming and Data Structure” questions across papers
🏷 Change Tag for this Question