fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. float a=3.16000;
  5. printf("%.2f", a);
  6. return 0;
  7. }
Success #stdin #stdout 0s 5468KB
stdin
What will be the output of the program?  Write the answer in digits not alphabets.

#include<stdio.h>
int main()
{
    float a=3.16000;
    printf("%.2f", a);
    return 0;
}
stdout
3.16