Integer literals starting with a zero are octal rather than decimal values. While using octal values is fully supported, most developers do not have experience with them. They may not recognize octal values as such, mistaking them instead for decimal values.

## Noncompliant Code Example

    var myNumber = 010;   // myNumber will hold 8, not 10 - was this really expected?

## Compliant Solution

    var myNumber = 8;

## See

- MISRA C:2004, 7.1 - Octal constants shall not be used
- MISRA C++:2008, 2-13-2 - Octal constants (other than zero) and octal escape sequences (other than "\0") shall not be used
- MISRA C:2012, 7.1 - Octal constants shall not be used
- CERT DCL18-C - Do not begin integer constants with 0 when specifying a decimal value