hmm...I just finished an excercise were i'm using structs to get phone numbers from the user. But i noticed when you lead any one of the numbers (i mean area code, exchange, number) it ends up in a different number when it prints out. so i just tried something out.
so if i entered 015 it would print 13Code:#include <iostream.h> int main() { int x; cin >> x; cout << x; return 0; }
when i enter 020 it prints 16
when i enter 010 it prints 8
why is this? thanks!