What Will Be The Output Of The Following C Code Snippetp Pre #524
What will be the output of the following C# code snippet?</p> <pre><code class="language-csharp" line="1"> class Output { public static void main(String args[]) { try { int a = 10; int b = 5; int c = b - 5 / 5; Console.WriteLine("Hi"); } catch(Exception e) { Console.WriteLine("hello"); } } } </code></pre>
This multiple choice question (MCQ) is related to the book/course
gs gs108 CSharp.
It can also be found in
gs gs108 Indexers and Exception Handling - Try & Catch in Detail - Quiz No.1.