what is difference between comments /* */ and //

The C/C++ language accepts two types of comments:

	To write a comment on one line, type two forward slashes // and type the comment. Anything on the right side of both forward slashes would not be read by the compiler (actually the parser)

	To write a comment, you can start it with a forward slash / followed by an asterisk *, write the comment. To end the comment, type an asterisk * followed by a forward slash /. This type of comment can be spread on various lines.