0o25
0o25 is a numeric literal written in octal (base‑8) notation, commonly used in programming languages such as Python and C. The prefix “0o” or “0O” signals that the following digits are interpreted in base eight, and the integer value represented by 0o25 equals 2 × 8 + 5, which is 21 in decimal. In binary, the octal digits correspond to 3‑bit groups, giving 0o25 = 010 101₂.
In C, octal constants were traditionally written with a leading zero (e.g., 025) before the C99 standard
Octal literals are often employed to express file mode bits in Unix-like systems, where permission settings
Because 0o25 can easily be mistaken for the decimal number 25, documentation generally recommends spelling out