Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <malloc.h>
- int main()
- {
- char *i;
- int r = 0;
- scanf ("%d", &r);
- i = (char *) malloc (r);
- scanf ("%s", i);
- printf ("%s", i);
- free ( i);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement