If I add "double" into statement then it will print 60.00 else the code will print 0.0000..
#include <stdio.h>
int main(void)
{
    void foo();// if i add "double" into statement then will printf 60.00
    char c = 60;
    foo(c);
    return 0;
}
void foo(double d)
{
    printf("%f\n", d);//now printf 0.0000
}
 
     
     
    