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

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

  1. %h
  2. %b
  3. %hex
  4. %x

Answer: D) %x

Explanation:

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

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.