filmov
tv
75c HINDI Arithmetic Expression Evaluation 3

Показать описание
Solving an Arithmetic Expression using rules of Precedence and Associativity.
IMPORTANT NOTE ON (%) MOD OPERATOR WORKING
As per the C99 standard, the sign obtained as a result of using a MOD(%) operator is the SIGN of the DIVIDEND.
7 (DIVIDEND) % 3 (DIVISOR)
For Example:
7 % 4 = 3
-7 % 4 = -3
7 % -4 = 3
-7 % -4 = - 3
IMPORTANT NOTE ON (%) MOD OPERATOR WORKING
As per the C99 standard, the sign obtained as a result of using a MOD(%) operator is the SIGN of the DIVIDEND.
7 (DIVIDEND) % 3 (DIVISOR)
For Example:
7 % 4 = 3
-7 % 4 = -3
7 % -4 = 3
-7 % -4 = - 3