answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What character is used to begin a comment?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What are the symbols used to write comments?

In C++ we use // to begin a comment. A comment can begin anywhere on a line, even after a code statement, and will extend to the end of the line until a newline character is encounter. Multiple lines of comments must each begin with //. We can also use C-style comments, which begin with /* and end with */. These comments can extend across multiple lines, or can be used to comment out code within a statement.


What characters cannot be included in an HTML comment?

There are no restrictions on which character cannot be placed in the comment tag, as As it is not --&gt;, since that will end the comment.


What HTML lines are used to hide javascript from older browsers?

The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are


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 do you write a comment tag on HTML document?

Adding a comment in HTML is very useful so that you can quickly see what a section of code is supposed to be doing. It also can be useful to define who wrote a piece of code when multiple people are on a project together. To create a comment line you start with the &lt; character followed by an exlamation mark and then two dashes. You then type your comment and close it off with two dashes and the &gt; character. See example below. &lt;!-- This is a comment line --&gt; You can also add more dashes at the beginning or in the middle with no ill effects. See example below. &lt;!-------- This is another --- comment line --&gt;

Related questions

What are the symbols used to write comments?

In C++ we use // to begin a comment. A comment can begin anywhere on a line, even after a code statement, and will extend to the end of the line until a newline character is encounter. Multiple lines of comments must each begin with //. We can also use C-style comments, which begin with /* and end with */. These comments can extend across multiple lines, or can be used to comment out code within a statement.


Which adjectives begin with the letter K used to describe character?

&middot; kindhearted


What characters cannot be included in an HTML comment?

There are no restrictions on which character cannot be placed in the comment tag, as As it is not --&gt;, since that will end the comment.


How do you traverse a comment and find a particular symbol within the comment?

This would require parsing, and is very language specific. The manual method would involve determining how long the comment was and then reading every single character and comparing it to the desired character until it is found (or not found). Many programming languages have methods used to locate a character or set of characters within a string, but this is very language specific.


What is the Japanese kanji character for comment?

&#35328;&#12356;&#33609;- Ligusa


How would you begin a letter in french?

salut (hi- informal) or bonjour, comment vas tu? (how are you) then begin what you want to write


What are some character traits that begin with the letter A?

Some character traits that begin with the letter A are:activeannoyinganxiousaltruisticagreeablenessaffectionateadventurousarticulateaggressiveadventurousaridableabrasiveabruptabsent-mindedaccessibleaccurateadmirableadorableadventurousaffectionateaggravatingaggressiveagreeablealoofaltruisticamazingambitiousamorousangelicannoyinganxiousappreciativeapproachablearticulateartisticastuteauthoritativeawesomeawkward


What HTML lines are used to hide javascript from older browsers?

The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are


Who is the character that shows up in time to comment on what's happening in Romeo and Juliet?

The chorus.


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.


What character traits begin with the letter T?

Thrifty, tacky, thoughtless, thoughtful, talented, tender and trustworthy are character traits. They begin with the letter t.


The character who shows up from time to time to comment on what's happening in Romeo and Juliet is the?

Narrator