Ask Question
Today, 00:49

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

+3
Answers (1)
  1. Today, 02:57
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers