Computer Science, asked by balajilic1431, 4 months ago

Contrast the usage of ++a and a++
i'll give a brainly thing

Answers

Answered by jai696
3

\huge\blue{\mid{\fbox{\tt{Explanation}}\mid}}

If you use the ++ operator as prefix like: ++var. The value of var is incremented by 1 then, it returns the value.

If you use the ++ operator as postfix like: var++. The original value of var is returned first then, var is incremented by 1.

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by sanjeevpatel20078
0

Explanation:

plese mark me as brainlist

Attachments:
Similar questions