+ 1

C language .Using multi -line comment symbol

⬜ same the text longer ⬜

25th Mar 2025, 4:59 PM
Laxmi
Laxmi - avatar
2 Respuestas
+ 3
missing programming language. please, tag it and ask your question.... thanks
25th Mar 2025, 5:30 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 1
Laxmi Each language is different. 👉 Python # Just use consecutive # single line comments. " " " Can also use multi-line strings using triple single or double quotes. Normally put as first line inside function, class, or module for docstring. Not recommended for extensive use since compiler still parses it as a string literal. " " " 👉 Java, C++, C#, Javascript, Kotlin, Swift, Objective-C // Can use multiple // single line comments. /* Can also use block comments. * Only the opening /* and closing */ * are needed, but intermdiate * * at start of each line often included. * Use extra asterisk at start /** to * to create docstring. */ 👉 HTML <!-- Can be single or multi-line. Whatever is between the opening and closing comment tags. --> 👉 CSS /* Same as block comments for Java, etc. But used for both single and multi-line comments. */ 👉 SQL -- single line comment /* Or can use multi-line block comments like Java and others. */
25th Mar 2025, 11:31 PM
Shardis Wolfe