Home | Department of Computer Science

%dshow an integer value %ldshow a long integer value %fshow a floating point value %lfshow a double value %eshow a floating point value using scientific notation %cshow single character %xshow a hex value %%show a % %pprint a pointer (must pass an address) We use \n to cause the output to do a line feed. A format code can be in the following ... ................
................