B
Q. What will be the output of the following C# code?
class Program { static void Main(string[] args) { int i ; for ( i = 0; i < 5; i++) { int j = 0; j += i; Console. WriteLine(j); } Console. WriteLine(i); Console. ReadLine(); } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Struct’s data members are ____________ by default.
Q. A method_____an exception when that method detects that a problem has occured.
Q. Choose “.NET class” name from which data type “UInt” is derived?
Q. What will be the output of the following C# code?
Q. A _______ is an identifier that denotes a storage location.
Q. An instance of a value type variable is allocated memory on_______.
Q. Polymorphism occurs when the methods of the child class.
Q. An ____ is a group of contiguous or related data items that share a common name.
Discusssion
Login to discuss.