What is the result of the expression 6 %/% 4
in R?
a) 2
b) 1
c) 3
d) 4
Answer:
b) 1
Explanation:
The %/%
operator performs integer division, so 6 %/% 4
results in 1 (as the remainder is discarded).
6 %/% 4
in R?6 %/% 4
in R?The %/%
operator performs integer division, so 6 %/% 4
results in 1 (as the remainder is discarded).