Skip to content

Instantly share code, notes, and snippets.

@aishaon
Created October 13, 2019 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aishaon/534c1e61cf2446cc1282e7989c17688d to your computer and use it in GitHub Desktop.
Save aishaon/534c1e61cf2446cc1282e7989c17688d to your computer and use it in GitHub Desktop.
Keywords in C programming language
#include <stdio.h>
void main() { //void is a keyword, see the list below
/*
Keywords:
The following list shows the reserved words in C or any other programming language(mostly).
These reserved words may not be used as constants or
variables or any other identifier names.
auto else long switch
break enum register typedef
case extern return union
char float short unsigned
const for signed void
continue goto sizeof volatile
default if static while
do int struct _Packed double
*/
//int int = 40;
int int_1 = 40; //int is a keyword, see the above list
//printf( "%d", int );
printf( "%d", int_1 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment