πŸ“Š PHP
Q. What will be the output of: echo 10 <=> 20;
  • (A) -1
  • (B) 0
  • (C) 1
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) -1

Explanation: The spaceship operator returns -1 if left is less than right.

Explanation by: Mr. Dubey
The spaceship operator returns -1 if left is less than right.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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