Mega Code Archive
Categories
/
C Tutorial
/
Printf Scanf
+ Indicates that i number is printed using a sign character (+ or -)
#include
main() { printf("%+d\n", -25); printf("%+d\n", 25); } -25 +25