0 0 votes why is the output 8 and not 16 we are adding 4 to the strlen of b which is 12??? Programming in C + – deepanshu sharma 3 390 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote b is pointing to the 1st address of the string constant . Now the pointer is being updated to b+4. So , now it is just strlen("CSIT2019") which is 8 . prashant jha 1 answered Dec 26, 2018 prashant jha 1 comment Share Follow 0 reply Please log in or register to add a comment.