Question 16

· unclassifiedP · Verified PYQ

what would be the output of the below code? #include <stdio.h> int main () { int n, num = 8421; n = num; while (num >= 10) { num /= 10; } printf (“%d”, num);

return 0; } Answer: 8

← Question 15Question 17 →
Report an issue with this question