Sail E0 Webinar

MCQs

Total Questions : 75 | Page 8 of 8 pages
Question 71. The arguments in a function are evaluated from .....
  1.    sometimes left to right and sometimes right to left
  2.    left to right
  3.    Always right to left
  4.    right to left
 Discuss Question
Answer: Option B. -> left to right
Question 72. It is always necessary to use parentheses with the print function.
  1.    False
  2.    True
 Discuss Question
Answer: Option A. -> False
Question 73. The below statement will return.$Var = substr(""abcdef"", -4, 1);
  1.    returns "c"
  2.    returns "f"
  3.    returns "cd"
  4.    returns "d"
 Discuss Question
Answer: Option A. -> returns "c"
Question 74. Returning values from functions may include .....
  1.    Objects
  2.    Arrays
  3.    Both A & B
  4.    None of above
 Discuss Question
Answer: Option C. -> Both A & B
Question 75. Strlen() returns the length of the string on success and . . . . if the string is empty.
  1.    0
  2.    Garbage value
  3.    -1
  4.    NULL
 Discuss Question
Answer: Option A. -> 0

Latest Videos

Latest Test Papers