174k views
1 vote
These characters mark the beginning of a single-line comment in many programming languages.

a) %%
b) //
c) --
d) **

User Onan
by
9.2k points

1 Answer

0 votes

Final answer:

The correct option for marking the beginning of a single-line comment in many programming languages is b) //.

Step-by-step explanation:

The correct option in this case is b) //. The characters // mark the beginning of a single-line comment in many programming languages, such as Java, C++, and JavaScript. When these characters are used, everything after them in the same line is treated as a comment and is ignored by the compiler or interpreter.

User Xela
by
8.5k points