asked 224k views
2 votes
Which of the following lines does NOT consist of (a) valid, though boastful, comment(s)?

// /* This is a */ First Rate Program
//**// This is a //**// First Rate Program //**//
//* This is a //*// First Rate Program //*//
/* This is a //*// First Rate Program //*//

asked
User Aepryus
by
8.1k points

1 Answer

4 votes

Final answer:

The line that does NOT consist of a valid, though boastful comment is '/* This is a */ First Rate Program'.

Step-by-step explanation:

The line that does NOT consist of a valid, though boastful, comment is:

/* This is a */ First Rate Program

This line is not a valid comment because it starts with /* and ends with */ which makes it a comment in C++ or Java programming languages, but not a boastful comment.

answered
User Obmerk Kronen
by
7.6k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.