Nesting of Loops in C
When a loop is inside the body of another loop, it is known as nesting of loops. Any type of loop can be nested inside any other type ...
...the ultimate source of Programming Tutorials and Projects
When a loop is inside the body of another loop, it is known as nesting of loops. Any type of loop can be nested inside any other type ...
The do-while loop is similar to the while loop except that the loop body will be executed at least once (even if the condition is fa...
The for loop provides a mechanism to repeat one or more statements until a particular condition is met. Condition may be predefined o...
Loops are used when we want to execute a part of the program or a block of statements several times.
In C programs, statements are executed sequentially in the order in which they appear in the program. Sometimes it may happen that th...
C permits mixing of constants and variables of different types in an expression. In these types of operations, data type of one oper...
Operator precedence determines which operator is performed first in an expression with more than one operators with different precede...
In C language, the assignment operator is responsible for assigning values to the variables.
C provides operators that let you perform logical operations on the individual bits of integer values, and shift the bits right or lef...
In C programming language, comma ( , ) can be used in two contexts :
Conditional operator is also known as ternary operator ( ? and : ) which requires three expressions as operands.
In a programming language, an expression that combines two or more expressions is termed as a logical expression.
Relational operators are used to compare values of two expression. Expressions that contain relational operators are called relational...
The increment( ++ ) and decrement( -- ) operators are unary operators that increment and decrement value of a variable by 1 .
Arithmetic operators are used for numeric calculations. They are of two types: Unary arithmetic operators Binary arithmetic oper...
An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations.
The scanf() function scans each input field, character by character. It might stop scanning a particular input field before reachin...
Formatting means representation of data with different settings as per the requirement of the user. The various settings that can be...
Input means to feed some data into program and output means to display data on screen.
The constants refer to fixed values that cannot be changed during execution of the program. These fixed values are also called literal...