<<< Previous question <<< Question ID#0423.md >>> Next question >>>
What is the output of the following PHP script?
$a = 0.5;
$b = 0.1;
$c = 16;
echo sprintf('%01.2lf %.1lf 0x%x', $a, $b, $c);
- A) 0.50 0.1 0x10
- B) 0.50 .1 0x10
- C) 0.50 0.1 0x16
- D) 0.5 0.1 0x16
Answer
Answer: A