760 views
1 votes
1 votes

how can int pointer be used to point to string constant??? even if we consider that address was passed to int pointer then when while(*++p1) is executed it must raise error right bcoz we are using int pointer???

1 Answer

0 votes
0 votes
char will be automatically typecasted to int without the loss of data

I think the output will be 3.
edited by

Related questions

1 votes
1 votes
1 answer
3