[email protected]:~$ cat >test.c
int main() {
float a = 12.345678;
printf("%.4f\n", a);
}
[email protected]:~$ gcc test.c -o test
test.c: In function ‘main’:
test.c:3:3: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]
[email protected]:~$ ./test
12.3457