Examveda
Examveda

We can use _________ to comment a single line?
1. /?
2. //
3. #
4. /* */

A. Only 2

B. 1, 3 and 4

C. 2, 3 and 4

D. Both 2 and 4

Answer: Option C

Solution(By Examveda Team)

/* */ can also be use to comment just a single line although it is used for paragraphs. // and # are used only for single line comment.

This Question Belongs to PHP >> Basic PHP

Join The Discussion

Related Questions on Basic PHP