ExamVeda
Login
Home
71
Which of the following format specifiers is used to print hexadecimal values and return value of output as Octal equivalent in C#?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
72
How many Bytes are stored by 'Long' Data type in C# .net?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
73
Verbatim string literal is better used for?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
74
What will be the output of the following C# code?
static void Main(string[] args)
{
    float sum;
    int i;
    sum = 0.0F;
    for (i = 1; i <= 10; i++)
    {
        sum = sum + 1 /(float)i;
    }
    Console.WriteLine("sum =" +sum);
    Console.ReadLine();
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
75
Types of 'Data Conversion' in C#?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
76
What will be the output of the following C# code?
static void Main(string[] args)
{
    int a = 5;
    int b = 10;
    int c;
    Console.WriteLine(c = a-- - ++b);
    Console.WriteLine(b);
    Console.ReadLine();
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
77
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();
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
78
The following C# codes are?
1. Myclass class;
   Myclass class2 = null;

2. int i;
   int j = 0;
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
79
Valid Size of float data type is?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
80
The Default value of Boolean Data Type is?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board