+ 2
Difference between printf and printf_s in C?
And which among them is more secure to use ?
1 Réponse
+ 1
Simple answer: printf_s (as any _s function) is the advanced security version of printf.
It checks (during runtime) if the parameters (the format string) are valid and calls an handler if not