GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  TCS  >  C
Go To First  |  Previous Question  |  Next Question 
 C  |  Question 41 of 87    Print  
Which of the following about the C comments is incorrect?

A. Comments can go over multiple lines
B. Comments can start any where in the line
C. A line can contain comments with out any language statements
D. Comments can occur within comments


  
Total Answers and Comments: 6 Last Update: March 04, 2008   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: G.Brahma Sagar
 
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)

Above answer was rated as good by the following members:
nagarjunat
July 14, 2005 08:00:52   #1  
G.Brahma Sagar        

RE: Which of the following about the C comments is incorrect?A. Comments can go over multiple linesB. Co...
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)

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
July 08, 2006 00:23:34   #2  
swetha        

RE: Which of the following about the C comments is inc...
For the given question the correct answer is D.

Comments cant be written within comments.

 
Is this answer useful? Yes | No
August 22, 2007 06:57:41   #3  
rohit dwivedi9450 Member Since: March 2007   Contribution: 44    

RE: Which of the following about the C comments is inc...
comment can be given inside comment
 
Is this answer useful? Yes | No
November 20, 2007 00:19:04   #4  
Mukesh Kumar        

RE: Which of the following about the C comments is inc...
Yeah the correct answer is D.
 
Is this answer useful? Yes | No
January 11, 2008 11:43:00   #5  
nithyapalanisamy Member Since: January 2008   Contribution: 1    

RE: 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
i suppose the answer is d
 
Is this answer useful? Yes | No
March 04, 2008 09:16:33   #6  
geekmuru42 Member Since: March 2008   Contribution: 2    

RE: 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
answer is D
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape