KnowledgeBoat Logo

Computer Applications

If int y =10 then find int z = (++y * (y++ + 5));

Java

Java Operators

ICSE 2015

87 Likes

Answer

z = 176

Working

    z = (++y * (y++ + 5))
⇒ z = (11 * (11 + 5))
⇒ z = (11 * 16)
⇒ z = 176

Answered By

52 Likes


Related Questions