Character %_ used as pattern conversion operator. Pattern conversion would very useful at the time of we present result to LCD. There are some kinds of pattern conversion along with the function. For example:
a. %d functioning to presents positive integer. example: sprintf(buf,"Angka %d",14);
b. %o functioning to presents integer octal number.
c. %x functions to present number heksa decimal integer.
d. %u useful to presents number decimal without sign.
e. %f useful to presents fractional number.
f. %i functioning to presents integer number.
g. %c presents character posed at ASCII number.
No comments:
Post a Comment