What Will Be The Output Of The Following C Codep Pre Langcsharp #77
What will be the output of the following C# code?</p> <pre><code class="language-csharp" line="1"> int n = 2; int p = 4; int q = 5; int w = 3; if ( !((p * q) /n <= (q * w) + n/p )) { Console.WriteLine( ++p + w++ + " " + ++n); Console.WriteLine("b"); } else { Console.WriteLine(--p + q-- + " " + --n); Console.WriteLine("a"); } </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Data Types, Variables and Operators - Relational and Logical Operators - Quiz No.1.