Go4Expert
(
http://www.go4expert.com/
)
-
C
(
http://www.go4expert.com/forumdisplay.php?f=20
)
- -
conditional operator problem in c
(
http://www.go4expert.com/showthread.php?t=11002
)
trash4ya
2Jun2008 12:39
conditional operator problem in c
hi friends,
when i type
(a<20)?b:b=30; it doesn't give any error...
but
(a<20)?b:c=30; gives an lvalue error.
why?
All times are GMT +5.5. The time now is
13:50
.