Home / Programming MCQs / C# MCQs / Question
S
Q. What will be the output of the following C# string? (Enter a String : BOMBAY).
static void Main(string[] args) { string Str, Revstr = " "; int Length; Console.Write("Enter A String : "); Str = Console.ReadLine(); Length = Str.Length - 1; while (Length >= 0) { Revstr = Revstr + Str[Length]; Length --; } Console.WriteLine("Reverse String Is {0}", Revstr); Console.ReadLine(); }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What will be the output of the following C# code?
Number of digits upto which precision value of float data type is valid?
Correct Declaration of Values to variables ‘a’ and ‘b’?
An instance of a value type variable is allocated memory on_______.
Only ___________ amount of processing time is needed for data conversion.
Discusssion
Login to discuss.