Skip to content

Instantly share code, notes, and snippets.

@knoxxs
Created October 4, 2012 10:29
Show Gist options
  • Save knoxxs/3832786 to your computer and use it in GitHub Desktop.
Save knoxxs/3832786 to your computer and use it in GitHub Desktop.
Basic definition Example of Enumeration in C
#include<stdio.h>
int main(){
enum Exit_Code {success, failure};
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment