+ 3

What is the Format Specifier for double in C programming?

I searched for this, somewhere i got %f for double or got %lf for double. Can anyone help me out?😊

6th Mar 2018, 11:18 AM
Amit Kumar Maurya
Amit Kumar Maurya - avatar
2 ответов
+ 8
%f - Float %lf - Double
6th Mar 2018, 12:09 PM
Mohammad Amir Aqeel
Mohammad Amir Aqeel - avatar
+ 2
%f float %lf double %Lf long double
12th Mar 2018, 2:34 AM
Moses Ouma
Moses Ouma - avatar