answersLogoWhite

0

comments are used in programs to make the program more user friendly.

The comment lines will not effect the execution speed of the program.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you get a working comment box on your website?

To get a working comment/feedback box, you will need to use the programming languages HTML and Javascript (javascript is widely used for forms)


What character is used to begin a comment?

This is different in different programming languages. Some character groups used in various languages to start a comment are: //, ;, !, /*, --, #, ', {, <!--, {-, etc. Some languages also require a character group to end a comment. Some older languages did not use character groups to mark comments but required them to appear in a certain place on every program line. There are endless variations in how commenting is done in computer programming languages.


What is single line comments as used in C programming?

single line comment are comment written in single line.in c there are two types of comment single line and multiple line.single line comment is written using // and multiple line comment is written between /*comment*/.compiler does not compile comments.it is used for better understanding of program.


How to use NS2 programming?

you don't need to use ns2 programming


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 use the adjective comment in a sentence?

Comment is not an adjective. It's a noun. e.g. I will make no comment.To comment is also a verb: I commented on the incident precisely.Would you like to comment on my comments?


What is the comments tag?

To add a comment in HTML 4, 5, or XHTML, you can use the comment tag. The tag looks like this: <!-- This is a comment. This is only a comment --> You can only use two hyphens in XHTML, and the space must be present for validation. This can be a multi-line comment by simply adding newlines. <!-- This is a comment. This is only a comment -->


What is comment as used in programming?

It's a part of program ignored by compilers and/or interpreters, created mainly for source code documentation.


Can you provide an example of how c/em is used in a programming language?

In programming languages, c/em (short for comments) are used to add explanations or notes within the code that are ignored by the compiler or interpreter. For example, in Python, you can use the symbol to add comments like this: python This is a comment in Python print("Hello, World!")


How do you use the word input in a sentence?

"You only use it in programming".Thank you for your incorrect input!


What is the use of keyword new used in AWT programming?

what is the use of new keyword in awt programming


What are the two types of comments in c programming language and how do they differ?

C uses two types of comment: single-line and multi-line. The multi-line comment originated in C while the single-line comment originated in C++. Both types are supported by both languages today. A single-line comment begins with the double-slash token (//) and extends to the end of the line. A multi-line comment begins with the slash-asterisk token (/*) and ends with the asterisk-slash token (*/). Examples: int x; // this is a single-line comment /* this is multi-line comment, typically used to introduce a function or class */ Note that since multi-line comments are fully-delimited, they may be used within the middle of a line of code. This is most useful when a function is forward-declared with a default value for one of its arguments and you wish to include that default value in the function definition (something which is not permitted under the one-definition rule): void f (int = 0); // declaration void f (int x /* = 0 */) { // definition } Such usage is really only of use to the function maintainer, as a reminder that the function has a default value. We can also use this technique when a function has an argument that is reserved for future use, but is otherwise unused in the current version of the function: void g (int); // declaration void g (int /* unused */) { // definition } Again, such usage is only of use to the function maintainer.