Which Of The Following Format Specifiers Is Used To Print #25
Which of the following format specifiers is used to print hexadecimal values and return value of output as Octal equivalent in C#?
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Data Types, Variables and Operators - Floating and Decimal Data Types - Quiz No.2.
Which of the following format specifiers is used to print hexadecimal values and return value of output as Octal equivalent in C#?
%hx for small case letters and %HX for capital letters
%x for small case letters and %X for capital letters
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
%Ox for small case letters and %OX for capital letters