0

In C Format specifier for string?

Why we dont need format specifier for string but for numbers and character. Example : printf("hello world");

3rd Jul 2021, 7:36 PM
Rishi
Rishi - avatar
2 ответов
+ 4
because first argument of printf expect a string... and no more arguments if string doesn't contains format specifier ^^
3rd Jul 2021, 7:54 PM
visph
visph - avatar