What is the output of the PHP statement echo intdiv(17, 5);?
Correct answer D. 3
Explanation
intdiv() performs integer division and returns only the whole-number quotient. 17 divided by 5 is 3.4, so intdiv(17, 5) returns 3.
Answer checked How we write and check questions
Discussion