Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
c
« Previous
Next »
The compiler in C ignores all text from a _________ until the end of a line.
Options
- /
- */
- **
- //
CORRECT ANSWER : //
Discussion Board
Comment in C
// used for single line comment
/* */ used for multiple line comment
Deepal 03-3-2017 04:40 AM
Comments -
Using comments compiler ignores line of text or multiple line of text.
These are the non-executable code.
Single line comment ignore one line using symbol “//”.
Multi-line comments starts with “ /* ” and end with “ */ ”.
Sapna 02-17-2017 05:46 AM
Comment
Answer : //
In C language "//" (double slash) is used for single line comment &
"/* .. */" is used for multiline comments.
Jayesh Sonar 02-24-2015 02:41 AM
Comments in C
- Multiline comments in C are written between /* and */.
- Single line comments are written starting with //.
Aparna 07-5-2013 04:14 AM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
C test (42)
C (12)
C++ for beginners (10)
C++ (20)
C++ (24)
C++ (18)
C++ (14)
C++ (12)
C++ (15)
C++ (15)
Data structure (20)
Data structure (10)
Data structure (10)
Data structure (10)
PERL (25)
VC++ (11)
Oops (30)
Mainframe (41)
Mainframe (15)
Embedded systems (15)
OOAD (49)
Advertisement
▲