explain in simple words the use of %2d, *, %5s in scanf("%2d %d %*f %5s", &x, &y, text), where text is text[20] ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

explain in simple words the use of %2d, *, %5s in scanf("%2d %d %*f %5s", &x, &y, text), where text is text[20] ?

1st Oct 2019, 4:56 PM
Sk. Ahmed Razha Khan
Sk. Ahmed Razha Khan - avatar
2 Answers
3rd Oct 2019, 5:11 PM
Shubham Sharma
Shubham Sharma - avatar
0
What is %-6.1f Shubham bro ?
7th Oct 2019, 3:53 PM
Sk. Ahmed Razha Khan
Sk. Ahmed Razha Khan - avatar