Evaluate the expression:

Z+= a++ + --b+ ++a+ --b;
where a= 10,b=5, Z=10


Solution



Here, a=10,b=5 and z=10

So expression is Z=Z+ a++ + --b+ ++a + --b
=10 +10+4+12+3
=20+7+12
=39


Contact Us

REACH US

SERVICES

  • CODING
  • ON-LINE PREPARATION
  • JAVA & PYTHON

ADDRESS

B-54, Krishna Bhawan, Parag Narain Road, Near Butler Palace Colony Lucknow
Contact:+ 919839520987
Email:info@alexsir.com