Live quiz

C Programming - Part 34

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following C code? #include <stdio.h> void main() { double k = 0; for (k = 0.0; k < 3.0; k++); printf("%lf", k); }

  • A
  • B
  • C
  • D