vlsidesign wrote:
Example
printf("I have %d cars. \n", 10);
Is it more correct to say that the printf function doesn't insert the
integer, rather into changes the integer into chars and then inserts
it?
printf inserts (into the stdout output stream) a textual representation of the
int value 10.
It doesn't change the integer into anything; 10 is still an integer. Rather, it
computes a sequence of characters {'1', '0'} from the integer.
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
Looking for software development work in the San Diego area.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"