I want to print in a terminal the "%"character when I put printf(" %c % ",var); the % doesn't print why??
add a \ in front of the special character,like this
printf("%c\%",'c');
c%
printf("%c\%",'c'); result: c% Bzzzzt! Wrong. I'm kind of guessing, but you didn't test that, did you?