Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <Windows.h>
- int main() {
- char *name;
- printf("Hello there!\nWhat is your name? ");
- scanf("%s", &name);
- printf("Well thanks for telling me, %s!\n", &name);
- Sleep(1000);
- printf("Goodbye, %s!\n", &name);
- free(name);
- Sleep(500);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment