Computer Science, asked by plsk82, 6 days ago

give the result of the following expression (a++ + ++a)/(a+3); if a=8

plz don't spam or i will report

Answers

Answered by Oreki
2

\textbf{\large Given Snippet}

  \texttt{int a = 8;}\\\texttt{int result = (a++ + ++a) / (a + 3);}

\textbf{\large\symbol{79}utput}

  \texttt{=| (a++ + ++a) / (a + 3)}\\\texttt{=| (8 + 10) / (11 + 3)}\\\texttt{=| (18) / (14)}\\\texttt{=| 1}

Similar questions