- q.26-find out what your system does with integer overflow,floating point overflow,& floating point underflow by using the experimental approach,that is write programs having these problems………………plz comment
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
?:it’s a TERNARY operator and applicable for single statement..
supppose you have two values x=9 and y=10
(x>y)?x:y then 10 will be printed ,it just behaves like your if-else
x+=y+=z
and x+=y+=z (+= assignment operator)
y=y+z;y=2
x=x+y;x=3
z+=x<y;
split it like…z=(z+x)<y (+ has higher priority then relational operator(<))
so you have to solve it first)