Skip to content

Instantly share code, notes, and snippets.

@eholk
Created July 23, 2013 18:33
Show Gist options
  • Select an option

  • Save eholk/6064906 to your computer and use it in GitHub Desktop.

Select an option

Save eholk/6064906 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main() {
int label = 0;
goto stop;
while(1) {
switch(label) {
case 0:
start:
printf("Hi\n");
break;
case 1:
stop:
printf("Bye\n");
goto exit;
}
}
exit:
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment