Piece of Information - Basic Operators of C
Main | Registration | Login | RSSSaturday, 2016-12-10, 11:22 PM

PiEcE oF InFoRmAtIoNs

Site menu
Search
Statistics

Total online: 1
Guests: 1
Users: 0

Basic Operators of C


Arithmetic Operators

SymbolsMeaning
+Addition
-Subtraction
*Multiplication
/Division
%Modulus(Remainder)


Relational Operators

SymbolsMeaning
>greater than
>=greater than or equal to
<less than
<=less than or equal to
==equal to
!=not equal to


Logical Operators

SymbolsMeaning
&&And
||Or
!Not


Logical AND (&&) Truth Table

XYZ = X * Y
000
010
100
111


Logical OR (||) Truth Table

XYZ = X + Y
000
011
101
111


Logical NOT (!) Truth Table

XX
01
10


Other Assignment Operators

SymbolsMeaning
+=plus equal
-=minus equal
*=multiply equal
/=divide equal
%=modulus equal
--minus minus (decrement)
++plus plus (increment)

Login form
Calendar
«  December 2016  »
SuMoTuWeThFrSa
    123
45678910
11121314151617
18192021222324
25262728293031
Site friends
CLICK BELOW THE SITE YOU WANT TO GO:

Create your own site

YAHOO Mail

FACEBOOK

GOOGLE

FRIENDSTER

Our poll
Rate my site
Total of answers: 25

Copyright MyCorp © 2016
Make a free website with uCoz