Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- char *chuj;
- int test(char** str);
- int main(int argc, char** argv) {
- test(&chuj);
- printf("%s\n", chuj);
- free(chuj);
- }
- int test(char** str) {
- *str = malloc(64);
- sprintf(*str, "jakischuj");
- }
Add Comment
Please, Sign In to add comment