In Nested If Else Statement in C, an entire if…else construct is written within either the body of the if statement or the body of…
If else statement in C Language with Example
If else statement in C language is used when a different sequence of instructions is to be executed depending on the logical value (True /…
If Statement in C Language
If Statement in C is used to execute an instruction or sequence/block of instructions only if a condition is fulfilled. In if statements, In if…
Control Flow in C Programming
Control Flow in C – A program consists of a number of statements to be executed by the computer. Not many of the programs execute all…
Precedence of Operators in C Language
Precedence of Operators in C All the operators in C language can be used together in an expression, C uses a certain hierarchy to solve…
Typecasting in c
Typecasting in C -It is possible to force an expression to be a specific type by using an operator called a cast. These force conversions…
Type Conversions in C Language & Type Conversion Rules
Type Conversions in C Language – when an operator has operands of different types, they are converted to a common type according to type conversion rules….
Shorthand Operator in C
Shorthand Operator in C – C has a special operator called shorthand that simplifies coding a certain type of assignment statements. Example for Shorthand Operator in C…
Unary Operator Sizeof in C Language
The unary operator sizeof in C generates the size of a variable or datatype, measured in the number of char size storage units required for the…
Comma Operator in C Program
Comma Operator in C – A comma operator is used to separate a pair of expressions. A pair of expressions separated by a comma is evaluated left to…
Conditional Operator in C
Conditional Operator in C – C provides an called as the conditional operator (?:) which is closely related to the if/else structure. The conditional operator is C’s…
Logical operators in C Language
Logical operators in C, as with other computer languages, are used to evaluate expressions which may be true or false. Expressions which involve logical operations are…
Increment and Decrement Operators in C
Increment and decrement operators in C – C language contains two unary operators referred to as increment (++) and decrement (–) operators. The two unary arithmetic operators in…
Arithmetic Operators in C Language
The basic arithmetic operators in C are the same as in most other computer languages and correspond to our usual mathematical/algebraic symbolism. The following arithmetic operators are…
Assignment Statement in C
How to assign values to the variables? C provides an assignment operator for this purpose, assigning the value to a variable using assignment operator is known as…
Expressions and Operators in C Language
In this tutorial, you will learn about what are Expressions and Operators in C Language. An expression consists of operators and variables. An expression is a sequence of operators…
Symbolic Constants in C
Symbolic Constants in C – Symbolic Constant is a name that substitutes for a sequence of characters or a numeric constant, a character constant or a string…
Escape Sequences in C Language
Escape Sequences in C – Character combinations consisting of a backslash (\) followed by a letter or by a combination of digits are called “escape…
Variables in C
Variables in C Language – a variable is an identifier whose value changes from time to time during execution. It is a named data storage…
Data types in C
The C programming language offers various data types to suit different purposes. They can be broadly categorized as follows 2 Types of Basic data…