Q. What will be the output?

Code:
echo strpos("hello", "e");
  • (A) 0
  • (B) 1
  • (C) 2
  • (D) false
πŸ’¬ Discuss
βœ… Correct Answer: (B) 1
Explanation: Position of 'e' is index 1.
Explanation by: Roshan
Position of 'e' is index 1.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
46
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
87%
Success Rate