CSDT BLOG

DISCOVER COLLECTIONS AND BLOGS THAT MATCH YOUR INTERESTS.




Share ⇓




operator in c language

Bookmark

operator in c language

C operators are symbols that are used to perform mathematical or logical manipulations. The C programming language is rich with built-in operatorsOperators take part in a program for manipulating data and variables and form a part of the mathematical or logical expressions.

An operator is a symbol that operates on a value or a variable. For example:   is an operator to perform addition.

C Arithmetic Operators

An arithmetic operator performs mathematical operations such as addition, subtraction, multiplication, division etc on numerical values (constants and variables).

C Increment and Decrement Operators

C programming has two operators increment   and decrement -- to change the value of an operand (constant or variable) by 1.

Increment   increases the value by 1 whereas decrement -- decreases the value by 1. These two operators are unary operators, meaning they only operate on a single operand.

2

Our Recent Coment