Q. What will be the output of strpos('hello', 'e')?

  • (A) 1
  • (B) 2
  • (C) 0
  • (D) false
πŸ’¬ Discuss
βœ… Correct Answer: (A) 1
Explanation: strpos() returns the position of the first occurrence of a substring.
Explanation by: Mr. Dubey
strpos() returns the position of the first occurrence of a substring.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
71
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
85%
Success Rate