Link to home
Start Free TrialLog in
Avatar of helloyip
helloyip

asked on

About the LONG data type

Why the following is illegal
long number = 234567890*10;
while the following is legal??
long number = 2345678900;
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of helloyip
helloyip

ASKER

tks a lot!!!
Ooops: BTW - what compiler are you using? It should at least issue a warning...