Multiple choice technology mainframe

Which column is used to provide comments in a COBOL program?

  1. 3

  2. 7

  3. 9

  4. 19

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In COBOL's fixed-format source code, comments are indicated by an asterisk (*) in column 7. When column 7 contains an asterisk, the entire line is treated as a comment and ignored by the compiler. Column 7 is also used for continuation (-) and debugging (D) indicators, making it a special control column.