Sail E0 Webinar
Question
We can use ___ to comment a single line?i) /?ii) //iii) #iv) /* */
Options:
A .  Only (ii)
B .  (i), (iii) and (iv)
C .  (ii), (iii) and (iv)
D .  Both (ii) and (iv)
Answer: Option C


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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers