What is wrong with the following statement? Provide the correct statement to add 1 to the sum

Question:

What is wrong with the following statement? Provide the correct statement to add 1 to the sum of x and y.
Console.WriteLine(++(x + y));

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Visual C# How to Program

ISBN: 978-0134601540

6th edition

Authors: Paul J. Deitel, Harvey Deitel

Question Posted: