we study without using cout we use float intiger and printf scanf what is the difference between them | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

we study without using cout we use float intiger and printf scanf what is the difference between them

9th Jul 2016, 12:54 PM
Sujan Pandey
Sujan Pandey - avatar
2 Answers
0
format specifier is not used in C++. but in C printf and scanf we must specify the format of the datatype
9th Jul 2016, 1:05 PM
abhay kagalkar
abhay kagalkar - avatar
0
float is a floating type variable it takes decimal values too example float a=43.457;
11th Jul 2016, 9:46 AM
Honey Singh
Honey Singh - avatar