0
Why is "%s" used in printf function, because I deleted and the output still the same ?
//I think this printf("%s", "Top 10% \n");// is equivalent to printf("Top 10% \n");
2 Réponses
+ 2
توفيق عبد الرزاق
%s will print up to '\0'.
Try below it will not print 'Tempor' because of \0.
printf("%s", " Top 10 \0 Tempor");