2 votes 2 votes x– = y+1; does the same as: (a) x= x –y +1 (b) x= – x –y – 1 (c) x= –x + y +1 (d) x= x – y – 1 is ans is a ? given d Programming in C programming-in-c programming + – tiger asked Nov 25, 2015 • recategorized Jun 17, 2022 by makhdoom ghaya tiger 7.2k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 4 votes 4 votes ans is D ) "+" has higher precedence than "- =" so 1st + will perform then -= wil perform . x-=(y+1) => x=x-(y+1) = x-y-1 . Pranay Datta 1 answered Nov 25, 2015 • selected Nov 25, 2015 by Digvijay Pandey Pranay Datta 1 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes x-=y+1 =>x=x-(y+1) =>x=x-y-1 ans d srestha answered Nov 25, 2015 srestha comment Share Follow See all 0 reply Please log in or register to add a comment.