Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #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("you have changed the 'modified' variable\n");
- } else {
- printf("Try again?\n");
- }
- }
- ///vegemite ftw
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement