Examveda
Examveda

Which of the following php statement/statements will store 111 in variable num?
1. int $num = 111;
2. int mum = 111;
3. $num = 111;
4. 111 = $num;

A. Both 1 and 2

B. All of the mentioned

C. Only 3

D. Only 1

Answer: Option C

Solution(By Examveda Team)

You need not specify the datatype in php.

This Question Belongs to PHP >> Basic PHP

Join The Discussion

Related Questions on Basic PHP