Choose a topic to test your knowledge and improve your C skills
A variable which is declared inside a method is called a________variable
Which is the String method used to compare two strings with each other ?
Minimum and Maximum range of values supported by ‘float’ data type are ?
Which datatype should be more preferred for storing a simple number like 35 to improve execution speed of a program?
What will be output of the following conversion ? static void Main(string[] args) { char a = 'A'; string b = "a"; Console.WriteLine(Convert.ToInt32(a)); Console.WriteLine(Convert.ToInt32(Convert.Tochar(b))); Console.ReadLine(); }
Scope of variable is related to definition of variable as: 1. Region of code within which variable value is valid and hence can be accessed. 2. No, relation with region where variable is declared its value is valid in entire scope.
Type of Conversion in which compiler is unable to convert the datatype implicitly is ?
Select output of the given set of Code : static void Main(string[] args) { String name = "r4r"; Console.WriteLine("Good Morning" + name); }
Which of the following is NOT an Integer?
Which of the following are value types? 1.Integer 2.Array 3.Single 4.String 5.Long
Which of the following statements is correct?
Which of the following can implement an interface? 1.Data 2.Class 3.Enum 4.Structure 5.Namespace