T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. Which escape sequence is used to print hexadecimal of a number in Perl?

  • (A) %h
  • (B) %b
  • (C) %hex
  • (D) %x
  • Correct Answer - Option(D)
  • Views: 62
  • Filed under category Perl

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics