printf()
含义:Print text formatted to the C library printf() routine specification
Format
printf(format,[arg1,......,argn])
Parameter
Parameter | Definition |
format | text, variable names, and control characters that specify the content and format of output to the computer or task output window: Valid Values %d signed decimal (identical to %i) %i signed decimal (identical to %d) %u unsigned decimal %o unsigned octal %x unsigned hexadecimal using abcedf %X unsigned decimal using ABCDEF %c unsigned character %s character string %e double precision form drddde±ddd where each d is a digit and r is the radix character %E do |