answersLogoWhite

0

COMMENT:- comment a re not necessary in the program. however, to understand the flow of programs the programmer can include comments in the program. comment are to be inserted by the programmer. It is useful for documentation.

Comment are nothing but some kind of statements which are placed between the delimiters /* & */. The compiler does not execute comments. Thus, we can say that comments are not the part of executable program.

The user can frequently use any number of comments that can be placed any where in the program. Please note that the comments and statements can be nested. The user should select the OPTION MENU of the editor and select the COMPILER - SOURCE -NESTED COMMENTS ON/OFF). The Comments can be inserted with a single statement or in nested statement.

Types of comment in c/c++. is following bellow

1. // this is a single line comment

2. /* */ this sing is multi line OR nested line comments

eg. /* int i=90;

char ch=65; */ close multi line comments

made by [ARUN KUMAR RAI]

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

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 c and c in computer programming?

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


How do you give comments in C programming?

add "//" before starting your comment (without quotes) and the compiler won't process it, it will be treated as commentfor example// this is an example of writing comments.


Create a spiral in C programming?

create spiral in c programming?


When was C - programming language - created?

C - programming language - was created in 1972.


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


What is a C compiler as used in C programming?

In C programming, C compiler is user to translate C source into C object module.


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 is the benefit of the C programming languages?

C language is better for hardware programming .Most of the programming for hardware are written in C language so it is beneficial for hardware programming is not efficient for application programming due to drawback like in C data moves around the system.


Name of object oriented programming language?

C++ is the name of a programming language.


Where can one find C programming tutorials?

You can find C programming tutorials online at the C programming website. They provide both free and paid tutorials for many aspects of the C and C++ code.


Websites to download c C programming language books?

Download 1000s of C C C++ Programming Language. http://www.guruengineers.com