Lakshya Education MCQs

Question: What will be the output of the following PHP code ?
Options:
A.qwe12345rty
B.qwe$arty
C.error
D.no output
Answer: Option A

Submit Answer & Explaination

Earn Reward Points by submitting Detailed Explaination for this Question

More Questions on This Topic :

Question 1. What will be the output of the following PHP code ?
  1.    qwe12345rty
  2.    qwe{$a}rty
  3.    error
  4.    no output
Answer: Option B
Question 2. PHP can automatically convert integers to floating point numbers and floating point numbers to integers.
  1.    TRUE
  2.    FALSE
Answer: Option A
Question 3. In PHP the integer 45 is stored exactly as 45. The floating point number 46.3 could be stored as.
  1.    46
  2.    46.3
  3.    46.2999999
  4.    none of above
Answer: Option C
Question 4. What will be the output of the following PHP code ?
  1.    qwe12345rty
  2.    qwe{$a}rty
  3.    error
  4.    no output
Answer: Option A
Question 5. What will be the output of the following PHP code ?
  1.    no output
  2.    error
  3.    5
  4.    0
Answer: Option C
Question 6. What will be the output of the following PHP code ?
  1.    192
  2.    2
  3.    error
  4.    0
Answer: Option D

Check all Questions in this Topic : Click HERE