filmov
tv
Assignment Operators in C Programming

Показать описание
Assignment Operator in C Programming
*****************************************
Definitions for Assignment Operators:-
**************************************
Assignment Operators are used to assign the value of an expression to a variable. The general form is
V op=exp;
Here, V is a Variable, op is the Binary Operator and exp is an Expression.
The Table given below lists the assignment operators with example operator description.
Operators Meaning Expression
********** ********** ***********
+= Add assign X+=a or X=x + a
--= Sub assign X--=a or X=x -- a
*= Multiple assign X*=a or X=x * a
/= Division X*=a or X=x * a
%= Modulo X%=a or X=x %a
Thanks for Watching
**********************
*****************************************
Definitions for Assignment Operators:-
**************************************
Assignment Operators are used to assign the value of an expression to a variable. The general form is
V op=exp;
Here, V is a Variable, op is the Binary Operator and exp is an Expression.
The Table given below lists the assignment operators with example operator description.
Operators Meaning Expression
********** ********** ***********
+= Add assign X+=a or X=x + a
--= Sub assign X--=a or X=x -- a
*= Multiple assign X*=a or X=x * a
/= Division X*=a or X=x * a
%= Modulo X%=a or X=x %a
Thanks for Watching
**********************