%f for both float and double, %d is for int and %s expects a string - a null-terminated sequence of characters.
Note:
'A' needn't have the integer value 65, since C doesn't require the ASCII character set.
Integer character constants (e.g, 'a') have type int in C.