Q: Which of the following php statement/statements will store 111 in variable num?
i) int $num = 111;
ii) int mum = 111;
iii) $num = 111;
iv) 111 = $num;
-
A
Both (i) and (ii)
-
B
All of the mentioned.
-
C
Only (iii)
-
D
Only (i)
C
Answer:
C
Explanation:
You need not specify the datatype in php.
Related Topic:
Share Above MCQ