MsBodie9643 MsBodie9643
  • 22-08-2019
  • Computers and Technology
contestada

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

Respuesta :

Mustela Mustela
  • 24-08-2019

Answer:

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<iostream.h> // header file

void main() // main method

{

cout<< " india"; // print india

}

here // indicating the beginning of a comment .

Answer Link

Otras preguntas

the original price of a watch was $109.it was on sale for 100.28.what was the discount rate
whats 416 divided by 4?
Within a period, an increase in atomic number is usually accompanied by A. a decrease in atomic radius and an increase in electronegativity. B. an increase in a
who what when where why treaty of versailles
What is square root of 270
What is the highest mountain in the United States and where is it located in the West region?
benito read 14 books in 3 months, which was 35% of the number of books he had signed up to read during the school year .how many books did Benito sign up to rea
Where does cellular waste get removed?
which value is equivalent to 15.2% written as a decimal
Why is it in French it's called the "perfect" tense and "imperfect" tense?