adplus-dvertising
frame-decoration

Question

Which of the following is a correct comment for comment in C programs?

a.

*/ Comments */

b.

** Comment **

c.

/* Comment */

d.

{ Comment }

Answer: (c)./* Comment */

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is a correct comment for comment in C programs?

Similar Questions

Discover Related MCQs

Q. What value will return to the operating system upon the successful completion of a program?

Q. Which one of the following is the correct operator to compare two variables?

Q. Which one of the following is not a correct variable type in C++ programs?

Q. The directives for the preprocessors begin with

Q. The header file iostream includes

Q. Which one of the following is the boolean operator for logical and?

Q. What is the only function all C++ programs must contain?

Q. What punctuation is used to the beginning and end of code blocks?

Q. What punctuation must be used to end lines of C++ code?

Q. Which of the following is a correct comment?

Q. Which of the following is the Boolean operator for logical and?

Q. The file “iostream” includes

Q. NULL Pointer can be used as

Q. Which one of the following is not the advantages of functions?

Q. What is the result of the following statement?

x = y = z = 0;

Q. What is the result of the following statement?

X = 10;
y = ++x;

Q. Which of the following statement creates infinite loop?

Q. The use of “break” Statement

Q. To use the function tolower(), which of the following header file should include

Q. What is the function overloading?