Vidyalelo
C# Programming · Q71

Basic Syntax and Data Types in C Sharp

Programming · C# Programming · question 71

Q71

Which of the following format specifiers is used to print hexadecimal values and return value of output as Octal equivalent in C#?

A.
%hx for small case letters and %HX for capital letters
B.
%x for small case letters and %X for capital letters
C.
No ease of doing it. C# don't provides specifier like %x or %O to be used with ReadLine() OR WriteLine(). We have to write our own function
Answer
D.
%Ox for small case letters and %OX for capital letters

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board