sprintf
Posted: Sun Nov 04, 2012 9:58 pm
I think there is a problem with sprintf.
int le=1;
char strng[40];
sprintf(strng, "%d", le);
printf("LE=%d LE=%s\n", le, strng);
I get
LE=1 LE=15
V.
int le=1;
char strng[40];
sprintf(strng, "%d", le);
printf("LE=%d LE=%s\n", le, strng);
I get
LE=1 LE=15
V.