operator in C

Опубликовано: 13 Май 2026
на канале: Mayur Nayaka
4
1

In programming, operators are symbols or keywords that are used to perform operations on variables or values. These operations can range from basic arithmetic to complex logical comparisons and manipulations of data structures. Here is a breakdown of the different types of operators commonly used in various programming languages:

1. Arithmetic Operators
These operators perform basic arithmetic operations:

(Addition): Adds two operands.
(Subtraction): Subtracts the second operand from the first.
(Multiplication): Multiplies two operands.
/ (Division): Divides the first operand by the second.
% (Modulus): Returns the remainder of a division operation.
** (Exponentiation, in some languages like Python): Raises the first operand to the power of the second.