What does a formatted string means in c ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does a formatted string means in c ?

26th Jan 2019, 5:25 PM
►BornToBeProgrammer✍✌◄
►BornToBeProgrammer✍✌◄ - avatar
4 Answers
+ 2
format string refers to a control parameter used by a class of functions in the input/output libraries of C and many other programming languages. 
26th Jan 2019, 5:59 PM
Akinyele Isaac
Akinyele Isaac - avatar
+ 2
both printf andscanf functions use codes within a format string to specify how output or input values should beformatted.
26th Jan 2019, 7:10 PM
Akinyele Isaac
Akinyele Isaac - avatar
0
When do we use sscanf and sprintf?
26th Jan 2019, 6:30 PM
►BornToBeProgrammer✍✌◄
►BornToBeProgrammer✍✌◄ - avatar
0
I know about scanf and printf method but i was asking about when creating a formatted string you have to use either sscanf or sprintf
26th Jan 2019, 6:46 PM
►BornToBeProgrammer✍✌◄
►BornToBeProgrammer✍✌◄ - avatar