Computer Science, asked by shreyamahajan, 1 year ago

is this output correct if yes then how plz answer it's urgent☺☺

Attachments:

Answers

Answered by shaliniarora10p2r0j5
1
yes its correct u have increment and decrement right
Answered by manav86
1
absoulety correct in 1 question condition is flase so b++ upadtion work and update the value in printing statemnt so answer is 10,3 nad in 2 queation when i =1 then a++,b++,c++ all work because there is no break statemnt btw cases so output is correct

shreyamahajan: but b++means first use and then increment then why b=3 not 2
manav86: b++ means updation hoga nxt wali line me mtlb question se dekhe toh b =2 given h or jab b++ hua toh update hoga value jo conditiin ke baad nxt line print wali usme
Similar questions