Created
October 13, 2019 14:56
-
-
Save aishaon/534c1e61cf2446cc1282e7989c17688d to your computer and use it in GitHub Desktop.
Keywords in C programming language
This file contains 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> | |
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