Do While Loop in C with example

A do-while loop in C is also used to execute and repeat a block of statements depending on a certain condition. It has the following form do{ <statement Block>}while(<condition>); where the <condition> is the relational or logical expression that will have the value true or false. When the above statement is executed, the computer will … Read more

While Loop in C with Example

A while loop in C is used to execute and repeat a block of statements based on a certain condition. Also Read, C Program To Find Factorial of a Number with Example Syntex:-while(){ <statement Block>} while is the relational or logical expression that will have the value of true or false. When this statement is … Read more

For Loop Statement in C With Example

For loop statement in C is used to execute and repeat a block of statements based on a certain condition. It has the following form: Syntax:- for(<initial value>; <condition>; <increment>){ <statement block>} whereas the <initial value> is the kind of assignment expression that initializes the value of a variable.<condition> is a relational or logical expression … Read more

Input Output Functions in C Language with Examples

Hi friends, in this tutorial, you will know the input output functions in C language. Basically, there are two functions mainly to read input from input devices and display the output to the output devices. Let’s discuss them one by one. Also read, Constant in C with Example Below are the two input output functions … Read more

Operators in C with examples

In this tutorial, you will learn the operators in c with examples one by one. C language uses different types of operators as given below Arithmetic operators Relational operators Logical operators Increment and decrement operators Assignment operators Conditional operator Bitwise operators Arithmetic Operators:- Arithmetic operators are used to perform various kinds of arithmetic operations. Also … Read more

Variable Declaration in C With Example

In this tutorial, you will learn the variable declaration in C language. A variable is an identifier or a name that is used to refer to a value and this value varies or changes during the program execution. A variable is written with a combination of letters, numbers, and special characters or underscores with the … Read more