**I**n general, we know that Operator is a person who operates equipment or a machine. for a programming language, Operator is a symbol that tails compiler or an interpreter to perform specific mathematical or logical / relational manipulation. Continue reading

# Author: Subroto Mondal

# C Program calculates the sum & average of an array

In the previous tutorial, we have seen the array definition, declaration, initialization and access array values. Now we use the array to solve real-life math problems. Continue reading

# Using Arrays C Language with Example

In a single sentence, an Array is a container of the homogeneous data type. that can store a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type. Continue reading

# Nested Loop with example C Language

When loop inside a loop is called nested loop. Working procedure of nested loop is that the first pass of the outer loop triggers the inner loop, which executes to completion. Then the second pass of the outer loop triggers the inner loop again. This repeats until the outer loop finishes. Continue reading

# Program using While Loop

Unlike most of the computer programming languages, a **while loop** is a control flow statement that allows code to be executed repeatedly based on a given boolean condition in C or C++. The **while loop** can be thought of as a repeating if statement. Here is some program using **while Loop:** Continue reading

# Example Program Using ‘for’ Loop

Unlike any programming, language loops play a very important role in C or C++ . Here is some example program using for loop. Continue reading

# Iteration Statements (Frequently Called Loops)

Well, friends today we discuss about loops in C /C++. Iteration statements (Loops) allow a set of instruction to be executed repeatedly until a certain condition meets. The condition may be predefined or open ended like (for loop and do-while or while loop) Continue reading

# Selection Statements (If, Switch) for Flow Control

C/C++ supports two types of selection statements: if and switch. In addition, the ? operator is an alternative to if in certain circumstances for flow control.

**if**

The *Syntax* of if statement is

if *(expression) statement*;

else *statement*; Continue reading

# Find GCD and LCM Using C Program

**GCD:** The *greatest common divisor* (GCD), which is also known as the *greatest common factor* (GCF), of two or more integers, is the largest integer that is a common divisor (factor) of all the given integers.

**LCM: **The *least common multiple* (LCM), which is also known as the *least common denominator* (LCD) in fractions, of two or more integers is the smallest integer that is a common multiple (denominator) of all the given integers. Continue reading

# C program to check odd or even and check any integer that divisible by another integer value

C program to check odd or even: In childhood As you have studied in mathematics that in decimal number system even numbers are divisible by 2 while odd are not divisible by 2, we may use modulus operator(%) which returns remainder, For example, 7%2 gives 1 ( remainder when seven is divided by two). Even numbers are of the form 2*X and odd are of the form (2*X+1) where X is is an integer.We will determine whether a number is odd or even by using different methods all are provided with a code in c language.