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]
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.
create spiral in c programming?
In C programming, C compiler is user to translate C source into C object module.
C++ is the name of a programming language.
It is not necessary (nor possible) 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.
C and C++ are both high-level programming languages.
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 spiral in c programming?
C - programming language - was created in 1972.
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
In C programming, C compiler is user to translate C source into C object module.
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!")
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.
C++ is the name of a programming language.
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.
Download 1000s of C C C++ Programming Language. http://www.guruengineers.com