What will be the output of the program?.
#include<stdio.h>

int main()
{
    float a=3.15529;
    printf("%2.1f\n", a);
    return 0;
}



A. 3.00
B. 3.15
C. 3.2
D. 3

Posted on by