Computer Science, asked by rohitchourasia25, 9 months ago

if a =10,b=20 and c=5 evalute +a+++b--+c++​

Answers

Answered by kanakShah
0

Answer:

a =10,b=20 and c=5 evalute +a+++b--+c++

Answered by AskewTronics
0

The above expression gives an error.

Explanation:

  • It is because there is no variable and the a holds the '+' operator. So there is a need for two variables if addition operator '+' is used.
  • But there are needs of one variable if the increment '++' or decrement "--" operator is used.
  • So the above expression denotes a compile-time error if it is written with the print statement or any other variable with the assignment operator to store the value of the expression.
  • The compile-time error will denote on the "+a". It is because there is no operator which value is added with the value of the a variable by the help of '+' operator.

Learn More:

  • Addition Operator: https://brainly.in/question/15668507
Similar questions