Google News
logo
Perl - Quiz(MCQ)
Which escape sequence is used to print hexadecimal of a number in Perl?
A)
%b
B)
%x
C)
%h
D)
%hex

Correct Answer :   %x


Explanation : The "%x" character sequence is used to print the number's hexadecimal conversion.

Advertisement