Comments
in a program
•Comments are the
lines of the program which are ignored during the program execution.
•When a programmer
write a program he adds some comments with it to make the program easy to
understand.
•Comments may be
single line or multiple line.
•Single line comments
are proceeded by //
•Multiple line
comments should be within this symbol.
•/* coments */
Data
types
•Any
type of data that is used in c/c++ program has its type with the help of which compiler
can recognize it and can reserve space for it in memory.
•Basically
two types of data is used in c/c++
•Variable
and constant
No comments:
Post a Comment