|
hai there was a typographical error in the
printf statement. here is the modified version #include <stdio.h> int main() {
char c[5];
int i;
c[0]='A';
sprintf(c+1,"%d%d%d%d",3,4,2,2);
printf("size of char array = %d\n",sizeof(c));
printf("%s\n",c); } with regards pradap From: Pradap [mailto: hai try this code #include <stdio.h> int main() {
char c[5];
int i;
c[0]='A';
sprintf(c+1,"%d%d%d%d",3,4,2,2);
printf("size of char array = %d\n",s);
printf("%s\n",c); } with regards pradap From: soewandi_w
[mailto:[EMAIL PROTECTED]
To unsubscribe : [EMAIL PROTECTED]
Yahoo! Groups Links
|
- RE: (PT) help Shyan Lam
- Pradap
