PVB

About Us

Keywordpedia

c lang has 32 keywords.

auto
The auto keyword declares automatic variables
click
break
The break statement terminates the innermost loop immediately when it's encountered. It's also used to terminate the switch statement.
click
case
It is used when a blocks of code are to be executed in 'switch' depending on the case
click
char
The char keyword declares a character variable
click
const
An identifier can be declared constant by using the const keyword
click
continue
The continue statement skips the statements after it inside the loop for the iteration
click
default
The default statement is executed if no case constant-expression value is equal to the value of expression . If there's no default statement, and no case match is found, none of the statements in the switch body get executed. There can be at most one default statement
click
do
The do-while statement lets you repeat a statement or compound statement until a specified expression becomes false.
click
double
Keywords double and float are used for declaring floating type variables
click
else
In C programming, if and else are used to make decisions.
click
enum
Enumeration types are declared in C programming using keyword enum
click
extern
The extern keyword declares that a variable or a function has external linkage outside of the file it is declared
click
float
Keywords double and float are used for declaring floating type variables.
click
for
The for statement lets you repeat a statement or compound statement a specified number of times. The body of a for statement is executed zero or more times until an optional condition becomes false
click
goto
The goto statement is used to transfer control of the program to the specified label.
click
if
In C programming, if and else are used to make decisions.
click
int
Int, short for Integer is a fundamental variable type built into the compiler and used to define numeric variables holding whole numbers.
click
long
In this program, the sizeof operator is used to find the size of int , long , long long , double and long double variables. As you can see, the size of long int and long double variables are larger than int and double variables, respectively.
click
register
The register keyword creates register variables which are much faster than normal variables.
click
return
The return keyword terminates the function and returns the value.
click
short
The short, long, signed and unsigned keywords are type modifiers that alter the meaning of a base data type to yield a new type
click
signed
The short, long, signed and unsigned keywords are type modifiers that alter the meaning of a base data type to yield a new type
click
sizeof
The sizeof keyword evaluates the size of data (a variable or a constant).
click
static
The static keyword creates a static variable. The value of the static variables persists until the end of the program.
click
struct
The struct keyword is used for declaring a structure. A structure can hold variables of different types under a single name.
click
switch
The switch and case statement is used when a block of statements has to be executed among many blocks.
click
typedef
The typedef keyword is used to explicitly associate a type with an identifier.
click
union
A union is used for grouping different types of variables under a single name.
click
unsigned
The short, long, signed and unsigned keywords are type modifiers that alter the meaning of a base data type to yield a new type.
click
void
The void keyword meaning nothing or no value.
click
volatile
The volatile keyword is used for creating volatile objects. A volatile object can be modified in an unspecified way by the hardware.
click
while
The syntax of a while loop in C programming language is − while(condition) { statement(s); } Here, statement(s) may be a single statement or a block of statements. The condition may be any expression, and true is any nonzero value. The loop iterates while the condition is true
click