Q32
What will be the output of the following PHP code?
A.
0
B.
1
AnswerC.
0.5
D.
-0.5
Answer: Option B
Solution
Answer: Option B
Solution:
cos() gives the cos value of the argument. Here the function returns 1.