printf function help
plug-devel@lists.PLUG.phoenix.az.us
plug-devel@lists.PLUG.phoenix.az.us
Mon Mar 1 11:54:02 2004
%d prints the value of argument in signed decimal notation. For example,
this will print the value of x.
#include <stdio.h>
int main()
{
float x=10;
printf("%d",x) ;
return 0;
}
Try 'man 3 printf' for details....
Tarun Karra
<tarun820@yahoo.com> T
To: plug-devel@lists.PLUG.phoenix.az.us
Sent by: cc:
plug-devel-admin@lists.PLU
G.phoenix.az.us bcc:
Subject: printf
function help
03/01/2004 11:45 AM
Please respond to
plug-devel
hi ,,
what does this program print and why
I know printf can take variable arguments..
how does compiler treat %d in this program..
#include <stdio.h>
int main()
{
printf("%d") ;
return 0;
}
thx
tarun
Do you Yahoo!?
Get better spam protection with Yahoo! Mail