CodesJava

Easy learning with example program codes

Keywords in c

C Keywords:

There are a list of words already defined in C library. These reserved words are called as C Keywords. Every keyword is defined to serve a specific purpose. These keywords when used in C codes performs a specific operation during compilation. A Keyword in C is restricted to be used as a variable, a function or an identifier.

Keywords used in C are listed below:

 

autodoubleintstruct
break elselongswitch
caseenumregistertypedef
charexternreturnunion
constfloatshortunsigned
continueforsignedvoid
defaultgotosizeofvolatile
doifstaticwhile

 

 

Example:

#include <stdio.h>
int main()
{
	printf("Hello World");
	return 0;
}

Output

Hello World
Please follow and like us:
error
Posted in C   








Copyright © 2019 CodesJava DMCA.com Protection Status