निम्नलिखित प्रोग्राम का आउटपुट क्या है: (9//2)
What is the output of the code print
A
4.5
B
4.0
C
4
D
Error
Explanation
The code 9 // 2 uses the floor division operator //, which divides the number and rounds down to the nearest integer.
9 // 2results in4, as the division of 9 by 2 is 4.5, and floor division rounds it down to 4.
So, the correct answer is:
(C) 4.
Correct Answer: C) 4