PropellerAds

Operators

1 comment :
operators OPERATORS IN C LANGUAGE
Arithmatic operator
Operator meaning example
+ Addition a+b
- subtraction a-b
* multiplication a*b
/ division a/b
% remender(modulus) a%b

Relational operator
Operator meaning example
< Less than a
> greater than b>a
<= less than or equalto a<=b
>= greaterthan or equalto b>=a
= = equal to a= =b
!= not equal to A!=B

Logical Operators

Operator meaning example
&& Logical AND a>b&&a>c
|| Logical OR a!=b||a!=c
! Logical NOT a!=c

Assignment Operators

Operator meaning example
= equal a=b

Conditional operator

Operator meaning example
? conditional a=b ? statement

1 comment :