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

How can two atoms of the same chemical element be different? A. They may be different allotropes of the element. Each allotrope of the same element has a diff
Thomas walks 2 miles in 45 minutes. At this rate, what time will he arrive at the park if the park is 10 miles away, and he leaves at 8:30 pm
Why is Louis Armstrong considered a jazz legend? A. for becoming the first white musician to contribute to jazz B. for his ability to play the trumpet and his
No matter how many common names an organism might have, it only has one
give me 5 facts for oligarchy
what is the first step in estimating 56x27
will the opposite of a number always,sometimes,or never be greater than the number itself
a car gets 25mpg. how many miles per liter is this?
What is adaptive radiation?
what element group is known as salt formers