Commit | Line | Data |
---|---|---|
04a13a6f | 1 | #include "cll1.h" |
2 | ||
3 | program | |
4 | { | |
5 | char *ptr; | |
6 | ||
7 | asprintf(&ptr,"%ld",123456789); | |
8 | printf("strlen(\"%s\")=%d\n",ptr,strlen(ptr)); | |
9 | ||
10 | ptr=catf("%ld",123456789); | |
11 | printf("strlen(\"%s\")=%d\n",ptr,strlen(ptr)); | |
12 | ||
13 | } |