Search:
Forum
Beginners
error in int
error in int
May 13, 2013 at 7:30am UTC
Prashant Gupta PG
(142)
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.
May 13, 2013 at 7:36am UTC
keskiverto
(410)
Could be octal:
http://www.cplusplus.com/doc/tutorial/constants/
May 13, 2013 at 8:07am UTC
Prashant Gupta PG
(142)
thanx for the answer.
Registered users can post here.
Sign in or register
to post.
C++
Information
Documentation
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs