Home / MCQ Bank / Computer
Computer Basic Php Difficulty: Medium

You can test the type of any variable with the ______ function.

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following C# code snippet? class Program { static void Main(string[] args) { int i; int v = 40; int[] x = new int[5]; try { Console.WriteLine(" Enter the number: "); index = Convert.ToInt32(Console.ReadLine()); x[index] = v; } catch(Exception e) { Console.WriteLine("Exception occurred"); } Console.WriteLine("Program executed"); } } What will be the output of the following C# code snippet? public class A { public int x; public int y; public void display() { Console.WriteLine(x + " " + y); } } class Program { static void Main(string[] args) { A obj1 = new A(); A obj2 = new A(); obj1.x = 1; obj1.y = 2; obj2 = obj1; obj1.display(); obj2.display(); } } What is the concept of method overriding in Java inheritance? What is the return value of putchar()? Which of the following sorting algorithm is used by C++ internally?