+ 1

What is the significance of * and - in Format specified?

Please help me to understand this.

6th Jul 2019, 6:13 AM
RGOEWEDKY
RGOEWEDKY - avatar
3 Antworten
+ 4
You mean format specifier? you can find the answer in the following link: http://www.cplusplus.com/reference/cstdio/printf/ P.S. Can you please tag a language to narrow down your question scope? any language at some point involves input-output, so it's rather vague.
6th Jul 2019, 10:12 AM
Ipang
+ 4
RGOEWEDKY, The link I have given contains explanation of asterisk * and hyphen - use cases in format specifier, it works the same way for C and C++ language. And I suggest you to put 'C-language' on your original question Relevant Tags, to add clarity. Hopefully by then more people come to answer : )
6th Jul 2019, 12:42 PM
Ipang
+ 2
C language
6th Jul 2019, 10:16 AM
RGOEWEDKY
RGOEWEDKY - avatar