In a C++ program, two slash marks ( // ) indicate the beginning of

A) a block of code.
B) a comment.
C) a variable definition.
D) a program.
E) none of the above.

B) a comment.

Computer Science & Information Technology

You might also like to view...

Prior to Java SE 8, Java supported three programming paradigms. Java SE 8 adds ________.

a. procedural programming b. object-oriented programming c. generic programming d. functional programming.

Computer Science & Information Technology

What is displayed by this program?

``` #include void seven(int *xp); int main(void) { int x, y; x = 5; y = 6; seven(&x); seven(&y); printf("%4d%4d\n", x, y); return(0); } void seven(int *xp) { int y; y = *xp + 2; *xp = y * 3; } ``` a. 21 24 b. 21 8 c. 5 6 d. 5 8 e. none of the above

Computer Science & Information Technology