Select the correct syntax for Multi-line Comments

9. Select the correct syntax for Multi-line Comments.

  1. //*Line1
    Line2*//
    
  2. /*Line1
    Line2/*
    
  3. */Line1
    Line2*/
    
  4. /*Line1
    Line2*/
    

Answer: D)

/*Line1
Line2*/

Explanation:

The multi-line comment starts with /* and ends with */

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.