EmbLogic's Blog

issue in assingment 01

  1. 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

2 Responses to issue in assingment 01

  1. hemant.kumar says:

    ?: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

  2. hemant.kumar says:

    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)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>