mod.c 253 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 #include<stdlib.h> #include<unistd.h> #include<stdio.h> int main(int argc, char **argv){ volatile int modified; char buffer[64]; modified = 0; gets(buffer); if(modified != 0){ printf("success!\n"); } else{ printf("try again!\n"); } }