📚 Practice Mode

Java

Learn at your own pace with hints and detailed explanations

1 / 5
Multiple Choice

What would be the output of the following C program?
int n=2, m=3, k;
k = (float)m/(float)n;
printf(k=%0.5d,k);

  1. k=1.00000
  2. k=0.00000
  3. k=00000.1
  4. k=00001