R

Ravi Chauhan • 11.26K Points
Tutor II

Q. 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
  • Correct Answer - Option(C)
  • Views: 127
  • Filed under category C#

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics