error in int

when I initialize an integer as i=0123; it creates an error while execution in Dev C++.but if I write it as i=123,Its not an error.Any idea why it happens.
thanx for the answer.
Topic archived. No new replies allowed.