Which of the following about the C comments is incorrect?A. Comments can go over multiple linesB. Comments can start any where in the lineC. A line can contain comments with out any language statementsD. Comments can occur within comments

This question is related to TCS Interview

Showing Answers 1 - 14 of 14 Answers

G.Brahma Sagar

  • Jul 14th, 2005
 

D is the right answer incase of /*......... /*......*/.... */ 
As the first comment end syntax occurs the compiler considers it as the closing set of the first comment start and because of that, the remaining part of the comment is treated as an error in syntax (Unkown words)

swetha

  • Jul 8th, 2006
 

For the given question the correct answer is D.

Comments cant be written within comments.

  Was this answer useful?  Yes

Mukesh Kumar

  • Nov 20th, 2007
 

Yeah the correct answer is D.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions