answersLogoWhite

0


Best Answer

Comments are used so that the software developer can look at the source code later and understand what a particular file, function, data structure, etc does without having to trace through the entire program. Comments are never included in the final executable code, and are only meant as a way for a developer to notate parts of the source code so that future developers will have an easier time maintaining the code. Even the same developer working on a project for many months will benefit from comments, as eventually your own code will look foreign to you as you improve your programming technique and write more code.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the use of comment ic c language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Can comment span more than one line in c?

Yes, you can use the multiline comment. Start the comment with /* and end the comment with */


How do you add programme comments?

It depends on the language. In most cases a remark or comment is denoted by a token or symbol such that the remainder of that line is ignored by the language compiler or interpreter. That is, the comment extends to the end of the line it appears on (known as a single-line comment). However, some languages require that comments be placed on a separate line, by themselves, including BASIC which traditionally opens a comment with the keyword REM (short for remark). In C, comments are enclosed in paired delimiters, beginning with /* and ending with */. This convention allows comments to extend across multiple lines as well as to insert comments inside code statements. Languages derived from C, including C++ and C#, also use this convention (known as a C-style comment), but they also allow single-line comments beginning with a // (double-slash) token. Java uses the same syntax as C++ and therefore uses the same comment style. Some languages use the # (pound) symbol to begin a comment while Visual Basic uses a ' (apostrophe). Additional information on comments can be found in your language documentation.


How does one indicate that certain text is to be treated as a comment in the classic C language?

Place the text between /* */ .


What is the use of loader in c language?

There is no part called 'loader' in C language.


How can you add a comment in a JavaScript?

Javascript uses C-style comments, for block comments (multiline) use: /* comments go anywhere in here */ for short one line comments use double-slash: // this is also a comment

Related questions

What ic C language?

C language is a computer programming language, which allows one to develop programs for users. you can learn more about C language here: http://thetechnofreaks.com/2011/08/23/the-basics-welcome-to-the-world-of-programming/


What is a comment line How is a comment line noted within a file in Computer Science?

It all depends on your language. In C, you would use // for a single line comment that ends at the end of the line (in a MS compiler) /* or the slash and asterisk that ends at an asterisk and a slash */


Can comment span more than one line in c?

Yes, you can use the multiline comment. Start the comment with /* and end the comment with */


What starts a comment in a C-base language?

// This is a one-line comment /* This is another comment Everything between the slash-star and the star-slash is commented out If you forget to close this comment you will get a compiler error */


Why you are use to c language?

I do use am a programmer, because C-language.


What is ATMEGA32?

it is a micro processor ic which has 32 pins used with c language coding to operate the chip with the use of avr burn o mat device to encode the codes to which this chip has to be functioned


How do you add programme comments?

It depends on the language. In most cases a remark or comment is denoted by a token or symbol such that the remainder of that line is ignored by the language compiler or interpreter. That is, the comment extends to the end of the line it appears on (known as a single-line comment). However, some languages require that comments be placed on a separate line, by themselves, including BASIC which traditionally opens a comment with the keyword REM (short for remark). In C, comments are enclosed in paired delimiters, beginning with /* and ending with */. This convention allows comments to extend across multiple lines as well as to insert comments inside code statements. Languages derived from C, including C++ and C#, also use this convention (known as a C-style comment), but they also allow single-line comments beginning with a // (double-slash) token. Java uses the same syntax as C++ and therefore uses the same comment style. Some languages use the # (pound) symbol to begin a comment while Visual Basic uses a ' (apostrophe). Additional information on comments can be found in your language documentation.


How does one indicate that certain text is to be treated as a comment in the classic C language?

Place the text between /* */ .


What is the use of loader in c language?

There is no part called 'loader' in C language.


What are the ways to comment statement in C?

Most of C/C++ will support two types of comments:* // Comment text goes here (aka inline)* /* Comment goes here */ (aka block)But the first comment type is not in ANSI C standard, you will get an error message.In order to compile your program with ASNI C standard using GCC, I suggest this:gcc -Wall -ansi -pedantic -oRemoving "-ansi" would allow usage of the first type comments in C language.


What is I C U C I C U?

An expanded version of "f_ck you" The first IC becomes F (C is at the top of I) and the second IC becomes K (C is aligned with I)


What ic c in roman numerals?

C is 100