1.

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
D. %Ox for small case letters and %OX for capital letters
Answer» D. %Ox for small case letters and %OX for capital letters


Discussion

No Comment Found