Created
November 16, 2015 20:15
-
-
Save yorickdewid/e9a74e4cc00ba8cfd613 to your computer and use it in GitHub Desktop.
Strange C
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
int main() { | |
int i = 1; | |
switch(i) { | |
case 1: | |
for(; i<3; ++i) | |
printf("i : %d\n", i); | |
default: | |
printf("i> : %d\n", i); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment