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 many heart chambers do mammals have?​
Which art technique has the artist used in this painting? technique in this painting. • The artist has used a(n)
PLEASE HELP ME!!!! I WILL MARK BRAINLIEST!!!!!THE QUESTIONIS IN THE PICTURE
Raquel has created a program for a robot. The robot travels 10 meters and stops. The program is designed for wheels that are 2.5 cm in diameter. When Raquel rep
What describes the overall aims of a buiness organization?
What is 5n+6+12n simplified? Help
Which is the equation of the given line? x = -7y x = 7 y = -7x y = -7
Please help me out please:)
What is Friar Lawrence's new plan?
Stem cells are undifferentiated cells that have the ability to continue to grow and divide in their nonspecialized state for long periods of time (eg., months o