[A89] Re: A problem


[Prev][Next][Index][Thread]

[A89] Re: A problem



>how come this line doesn't work in my program?

>product=(3)x(15);

>I should be getting 45 but for some reason it keeps giving me an error...can 
>you guys help me?  Stupid compiler!

Umm.....because in C, the multiplication operator is *, not x. x is treated 
as a variable.....