Advertisement
Guest User

Untitled

a guest
Feb 15th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(void)
  5. {
  6. char buff[15];
  7. int dontchangeme = 0;
  8.  
  9. printf("\n Enter something : ");
  10. gets(buff);
  11.  
  12. if(dontchangeme)
  13. {
  14. printf("uh oh this shouldn't happen\n");
  15. }else
  16. {
  17. printf("phew, nothing happened\n");
  18. }
  19.  
  20. return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement