They perform bitwise operations like AND (&), OR (|), XOR (^) and NOT (~).
Chat with our AI personalities
There is no "power" operator in C or C++. You need to the use the math library function pow().
num1 <<= 1; /* shift left */
If you use microsoft's "Visual C++ Compiler" whoever is going to use your program needs the redistributable installed.
if (condition)Statementelse (condition)Statementwhile (condition)statementfor (initializer; condition; increment)Well, none of those is operator... it's exp1?exp2: exp3
b+b+b+c+c+c+c =3b+4c