answersLogoWhite

0

How do you remove comment from c program?

Updated: 8/20/2019
User Avatar

Wiki User

8y ago

Best Answer

There are no comments in C programs. Comments only exist in the source code and the precompiler automatically strips them out before the compiler sees them.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you remove comment from c program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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++


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 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 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.


11 What is a comment line How is a comment line noted within a file?

A comment line is a line or part of a line in a program that is intended as a remark or comment and is ignored when the program runs. It is noted within the file by using a semi-colon or an REM to mark a line as a comment.


Why you use a comment in programming?

comments are used in programs to make the program more user friendly. The comment lines will not effect the execution speed of the program.


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


How can you create a comment in a C plus plus program?

There are two ways:The single line comment with a double slash //. Everything after the double slash on a single line is commented out.The multi-line comment using a /* to open, and a */ to close.A good IDE will color code the comments instantly.


How do you remove your comment On Answers?

As long as the question that is being asked is still open/unresolved, you can remove your comment on Yahoo! Answers by clicking on the 'X' beside your comment.


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


How do you remove comment after its posted?

On your own post you can delete any comment, but on others post you can only delete your comment only.


How do you remove a comment associated with a cell?

Right-click on the cell with comments and select delete comment.