Multiple choice technology programming languages

Octal literals begin with 'O'

  1. True

  2. False

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

In most programming languages, octal literals are denoted by a leading zero, not the letter 'O'. For example, 075 is octal, while O75 would typically be interpreted as a variable name. This question is likely about C/C++/Java syntax conventions.