please help me i need it fast please
Home
/
please help me i need it fast please
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Verified answer
Explanation:
(a) 5* ++x;
30
WORKING
5* ++x
⇒ 5* 6 [∵ ++x will first increment x to 6 and then use it in the expression]
⇒ 30
(b) 5* x++;
25
WORKING
5* x++
⇒ 5* 5 [∵ x++ will first use the current value of x in the expression which is 5. After that x is incremented to 6]
⇒ 25