C language | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

C language

Can someone tell what is the job of %f in below code ? #include <stdio.h> int main() { const double PI = 3.14; printf("%f", PI); return 0;

19th Jan 2019, 3:09 PM
Gauhar Rahman Niazi
Gauhar Rahman Niazi  - avatar
3 Answers
+ 1
It is format of double numbers for printing to command line
19th Jan 2019, 3:14 PM
Ahmet
+ 1
commad line Mean ?
19th Jan 2019, 3:30 PM
Gauhar Rahman Niazi
Gauhar Rahman Niazi  - avatar
0
*command line
19th Jan 2019, 3:31 PM
Ahmet