answersLogoWhite

0

What is comment in C?

User Avatar

Anonymous

11y ago
Updated: 10/10/2022

Something that the compiler ignores.
Comments are enclosed between /* and */.

What else can I help you with?

Related Questions

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 is a pqc paragraph?

A stands for awnser c stands for comment q stands fote qoute from the text c stands for comment # 2


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 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 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 */


What is a correct way to add a comment in PHP?

There are many ways to comment in PHP, all of them valid: /* Classic C style, which allows you to comment blocks rather than single lines */ // C++ Style, which remarks the remainder of a single line # bash style, which also is a rest-of-the-line comment


What is single line comment?

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 are 11 back slashes use in c?

Two backslashes (//) indicate the start of a line comment in C, where the comment extends to the end of the line. 11 backslashes is therefore a comment containing 9 backslashes. Comments of this kind are usually used to provide a visual break between two segments of code. Note that comments in C-style comments open with /* and close with */ and may extend across multiple lines. The double-backslash line comment originated in C++ and was later adopted by C.


A new programmer whom you are training is writing a C program and wants to place comment lines in the program what characters should be used at the beginning and end of the comments?

if single line comment just place // before for single line comment else if multiple line denote as like this /*............................. ..............................*/ Strictly speaking, // is non.standard in C only in C++


How do you pronounce comment in french?

comb-oh or you could look at it as c-oh-m-oh


Definition of comments in c plus plus?

In C++, you can write comments two different ways. The old way, which is C compatible, is to bracket the commented text with /* and */. These comment operators extend across lines. The new way, for C++, is the single line comment. You start the comment with //, and everything from that point to the end of the current line is a comment.Note: You can use the preprocessor as well:#if 0Many many lines of comments#endif


Which of these is the clearest example of metafiction A. A story told by a third person narrator B. A story that presents the plot backward C. A story with footnotes that comment on th?

C. A story with footnotes that comment on the author's process