πŸ“Š PHP
Q. How do you write a single-line comment in PHP?
  • (A) // comment
  • (B) # comment
  • (C) /* comment */
  • (D) Both 1 and 2
πŸ’¬ Discuss
βœ… Correct Answer: (D) Both 1 and 2

Explanation: PHP supports single-line comments using // and #.

Explanation by: Rati Dubey
PHP supports single-line comments using // and #.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
38
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
82%
Success Rate