PHP MCQ PHP Basic MCQ Question #2352
Single Choice Not Set

QWhich 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;

ID: #2352 PHP Basic MCQ 4,931 views
Question Info
#2352Q ID
Not SetDifficulty
PHP Basic MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Both (i) and (ii)
  • B All of the mentioned.
  • C Only (iii)
  • D Only (i)
Correct Answer

Explanation

You need not specify the datatype in php.

Share This Question

Challenge a friend or share with your study group.