Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- void foo(int c)
- {
- char alpha[] = "abcdefghijklmnopqrstuvwxyz";
- char two[0];
- memcpy (two, alpha, c);
- two[10] = '\0';
- printf("\n%s\n", two);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement