Computer Science for IGCSE & O level - Programming (Section 6 - No. 49)
What is the purpose of the `//` symbol in the provided code snippets (as used in some programming languages)?
To denote a variable declaration
To start a comment.
To terminate a statement.
To perform a mathematical operation.
Explanation
// (or sometimes /* ... */) is generally used to comment out code for readability or explanatory purposes.
Comments (0)
