Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #define SUCCESS 0
- void exit_Pro()
- {
- printf("Press any Key to exit: ");
- fflush(stdin);
- getchar();
- }
- int main(int argc, char **argv) {
- atexit(exit_Pro);
- return SUCCESS;
- }
- #include <stdio.h>
- int main(int argc, char *argv[]) {
- printf("Press any Key to exit: ");
- fflush(stdout);
- getchar();
- }
- void exit_Pro()
- {
- fprintf(stderr, "Press any Key to exit: ");
- getchar();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement