Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int *pn = 0;
- int cnt_1 = 0;
- int cnt_2 = 0;
- char *psz[101];
- ///////////////////////////////////
- int main() //
- {
- pn = (int*)malloc(4);
- printf("*pn = %d\n", *pn);
- psz[cnt_2] = (char*)malloc(cnt_1+1);
- printf("%s\n", psz[cnt_2]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement