Create a free account on Computer Sir Ki Class and unlock access to valuable learning resources.
Exam Paper Downloads: After registering and logging in, you can download exam question papers in PDF format to practice and prepare for your exams.
Student Support: Get assistance with your doubts, queries, and questions related to your studies. Our support is here to help you understand topics and resolve your learning difficulties.
Register today and make your exam preparation easier and more effective!
If int y = 10 then find int z = (++y * (y++ + 5));
Answer:
If int y = 10 then find int z = (++y * (y++ + 5));
Let us try to solve step by step based on precedence
Step1: starting with y=10
(++y * (y++ + 5))
11 * (11 + 5) //First y will immediately increment as it is preincrement, next will not as it is post increment
Step 2:
11 * (16)
Step 3:
176
So z = 176
C. Sir| Created: 6-Apr-2018 | Updated: 22-Mar-2026|ICSE2015