0 0 votes Programming in C bad-question + – iita 606 views answer comment Share Follow Print See 1 comment 1 1 comment reply iita commented Feb 3, 2017 reply Follow flag yeah but how...??? 0 0 replyShare Please log in or register to add a comment.
0 0 votes If this question from Ace Mock 7 then definitely it is a big mistake because answer should be -10 In this question we need Ascii table because for \n(new line) numeric value is 10 https://www.techonthenet.com/ascii/chart.php now ++*p means value increment at the address so p points to address of \n value of \n is 10 after increment it becomes 11 now same ++*str1 gives 11 and ++*str1-32=-21 and ++*p+ + +*str1-32 gives us 11 + (-21)=-10 for more clearness see this.http://code.geeksforgeeks.org/3xeTyK learner_geek answered Apr 11, 2017 learner_geek comment Share Follow 0 reply Please log in or register to add a comment.