There is no "power" operator in C or C++. You need to the use the math library function pow().
Chat with our AI personalities
They perform bitwise operations like AND (&), OR (|), XOR (^) and NOT (~).
If c were 3, the answer would be 30. If c were 5, the answer would be 130. c3+c1 = (c*c*c) + c
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
the plus sign (+)