51. Choose the correct statement about System.Type namespace.
52. What will be the output of the following C# code snippet?
class test
{
public int a;
public int b;
public test(int i, int j)
{
a = i;
b = j;
}
public void meth(test o)
{
o.a *= 2;
o.b /= 2;
}
}
class Program
{
static void Main(string[] args)
{
test obj = new test(10, 20);
obj.meth(obj);
Console.WriteLine(obj.a + " " + obj.b);
Console.ReadLine();
}
}
class test
{
public int a;
public int b;
public test(int i, int j)
{
a = i;
b = j;
}
public void meth(test o)
{
o.a *= 2;
o.b /= 2;
}
}
class Program
{
static void Main(string[] args)
{
test obj = new test(10, 20);
obj.meth(obj);
Console.WriteLine(obj.a + " " + obj.b);
Console.ReadLine();
}
}
53. Which among the following statements are not correct about a namespace used in C#.NET?
54. Which among the following is referred as an array of pointers?
55. How many values can be returned from a function simultaneously using pointers?
56. Which of these classes contains only floating point functions?
57. Which among the given statements are correct about the Stack collection?
58. Which among the given operators is referred to as 'address of' operator?
59. Which among the following does not belong to the C#.NET namespace?
60. What is the size of a char pointer?
Read More Section(Miscellaneous in C Sharp)
Each Section contains maximum 100 MCQs question on Miscellaneous in C Sharp. To get more questions visit other sections.