answersLogoWhite

0

add "//" before starting your comment (without quotes) and the compiler won't process it, it will be treated as comment

for example

// this is an example of writing comments.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Do compiler see the comments written with in the C programming?

It ignores the comments, those are for the human reader.


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!")


What statement is used to give the remark in a program?

In programming, a remark or comment is typically added using specific syntax that varies by language. For example, in Python, comments are created using the # symbol, while in languages like Java or C++, comments can be indicated with // for single-line comments or /* ... */ for multi-line comments. These comments are ignored by the compiler or interpreter and are used to provide explanations or notes within the code for better readability.


Give an example of a procedural programming?

Popular one is C.


What the answer of give 5 programming language influence by c language?

It would be a list of five programming languages.


Give some examples of reserved words in the ANSI C programming language?

while, for, do


What is c and c in computer programming?

C and C++ are both high-level programming languages.


Create a spiral in C programming?

create spiral in c programming?


What are non-executable statement in a program javascript?

Comments are non-executable statements within JavaScript (or any other programming.) In JavaScript, comments are surrounded by /* and */ for multi-line comments, or started with // for single line comments.


How does C programming give access to low level memory?

Define 'low level memory' first.


Can you give me programme of making contacts and saving in PC through C programming?

This site is not for home-works.


What has the author Robert Lafore written?

Robert Lafore has written: 'Object-oriented programming in Microsoft C++' -- subject(s): Object-oriented programming (Computer science), C++ (Computer program language), C. 'Microsoft C. Programming for the I.B.M.Personal Computer' 'Object-oriented programming in C++' 'Windows Programming Made Ridiculously Easy Book' 'The Waite Group's C Programming Using Turbo C++ (The Waite Group)' 'Microsoft C programming for the IBM' 'The Waite Group's Microsoft C programming for the PC' -- subject(s): C (Computer program language), IBM microcomputers, Microsoft C (Computer program), Microsoft C., Programming