Home »
MCQs »
PHP MCQs
What will be the output of the following PHP code (13)?
53. What will be the output of the following PHP code?
<?php
printf("%x",65535);
?>
- ffff
- 0xffff
- FFFF
- 0XFFFF
Answer: A) ffff
Explanation:
%x in printf() function prints/converts the number in hexadecimal number where letters are in lowercase.