295 views
2 votes
2 votes
# include <stdio.h>
int main()
{
    char *s1 = "1234", *p;
    p = s1 + 2;
    //*p = '0';
    printf("%d", *p);
   
}

 

The above code prints 51, any idea why?

Please log in or register to answer this question.

No related questions found