πŸ“Š PHP
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

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
8 d ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
85%
Success Rate