Ask Question

In a C+ + program, two slash marks (//) indicate:

A.

The end of a statement

B.

The beginning of a comment

C.

The end of the program

D.

The beginning of a block of code

+4
Answers (1)
  1. 8 September, 02:12
    0
    The option (B) is the correct answer.

    Explanation:

    In C+ + the / / (two slash marks) indicating the beginning of a comment. The two slash marks (//) comment the single line in a program. To use two slash marks (//) comment we simply write / / in which line we have to make comment.

    following are the example of code in c++

    #include / / header file

    void main () / / main method

    {

    cout<< " india"; / / print india

    }

    here / / indicating the beginning of a comment.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “In a C+ + program, two slash marks (//) indicate: A. The end of a statement B. The beginning of a comment C. The end of the program D. The ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers