Embedded Controllers Using C and Arduino

%d decimal integer %ld decimal long integer %x hexadecimal (hex or base 16) integer %o octal (base 8) integer %u unsigned integer %c single character %s character string . Figure 4.1, print format types. Suppose that you wanted to print out the value of the variable ans in decimal, hex, and octal. The following instruction would do it all: ................
................