0
what about logic operators ?
2 Respostas
0
+ Adds two operands A + B will give 30
- Subtracts second operand from the first A - B will give -10
* Multiplies both operands A * B will give 200
/ Divides numerator by de-numerator B / A will give 2
% Modulus Operator and remainder of after an integer division B % A will give 0
++ Increment operator, increases integer value by one A++ will give 11
-- Decrement operator, decreases integer value by one A-- will give 9
0
The overview that you must understand is that operators are symbols or words that connect things. This conections to keep going depends on the original connection. For specific language syntax try: www.cplusplus.com/doc/tutorial/operators