0

%s

What is %s after a printf line?

21st Dec 2018, 3:22 AM
MIKKE MOUSEEE
MIKKE MOUSEEE - avatar
2 Respuestas
+ 4
It means that you pass a pointer and it starts interpreting each byte after that as a char and prints it until encountering a \0 ...it prints strings...
21st Dec 2018, 6:50 AM
Valen.H. ~
Valen.H. ~ - avatar
0
For strings
21st Dec 2018, 5:11 AM
Rishabh
Rishabh - avatar