0 votes 0 votes why is the output 8 and not 16 we are adding 4 to the strlen of b which is 12??? deepanshu sharma 3 asked Dec 26, 2018 deepanshu sharma 3 201 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes 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 See all 0 reply Please log in or register to add a comment.