C Comments

Comments in C

  • Comments can be used to explain code, and to make it more readable. It can also be used to prevent execution when testing alternative code.

(Commentsকোড ব্যাখ্যা করতে ব্যবহার হয়, এবং এটি আরো code বুঝার সুবিদার জন্য। বিকল্প code লিখতেও এটি ব্যবহার করা হয়।)

  • Comments can be singled-lined or multi-lined.

(মন্তব্য একক-লাইনে বা বহু-লাইনে হতে পারে।)



Single-line Comments

  • Single-line comments start with two forward slashes (//).

(একক-লাইন মন্তব্য দুটি ফরোয়ার্ড স্ল্যাশ (//) দিয়ে শুরু হয়।)

Example :

C Multi-line Comments

  • Multi-line comments start with /* and ends with */.

(একাধিক লাইনের মন্তব্য /* দিয়ে শুরু হয় এবং */ দিয়ে শেষ হয়।)

Example :