Home / MCQ Bank / Computer
Computer Basic Syntax And Data Types In C Sharp Difficulty: Medium

What will be the output of the following C# code? static void Main(string[] args) { const int a = 5; const int b = 6; for (int i = 1; i <= 5; i++) { a = a * i; b = b * i; } Console.WriteLine(a); Console.WriteLine(b); Console.ReadLine(); }

Select the correct option to test your answer:

More Computer Questions

What type of scooping is present in JavaScript? Which is the handler method used to invoke when uncaught JavaScript exceptions occur? Which company is not a microprocessor manufacturer? The memory which is ultraviolet light erasable and electrically programmable is In Java, which generic class is commonly used for creating key-value pairs?