0
Why we need space before %c in structure.
Some 32 bit Compiler giving error while typing without space before %c https://code.sololearn.com/c5jXiq15889S/?ref=app
4 odpowiedzi
+ 4
according to the documentation which i may not be quoting properly but am just saying other specifiers like %d & %f eat up the white space in the buffer while %c & %s do not, which may cause the next specifier to eat up the space which is left by %c | %s rather displaying the content
+ 3
Can you describe the error message and which compiler you meant? that information may help others to identify and isolate the problem, then come up with something to suggest ...
(Edit)
Suduli Ray
Add that information to the Description of the question, so viewers can quickly see it.
Good luck! 👍
+ 1
Thank you
0
Sure