5 5 votes What will be output if you will compile and execute the following C code? void main(){ char c=125; c=c+10; printf("%d",c); } $135$ $115$ $-121$ $-8$ Programming in C nielit2016dec-scientistb-cs programming-in-c output + – admin 1.7k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
4 4 votes Option c. Bcz char take one byte to store a variable. It's range - 128 to 127.but in the above code the c=c+10 =135. So 135-127=8 Decrease 8 from - 128 So the answer is - 121 pritambiswas000007 answered Apr 17, 2020 pritambiswas000007 comment Share Follow See 1 comment 1 1 comment reply anjli commented Feb 6, 2021 reply Follow flag right 0 0 replyShare Please log in or register to add a comment.