#include<stdio.h>int main(){ float a=3.16000; printf("%.2f", a); return 0;}
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; }
3.16
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!