595 views
0 votes
0 votes

Let p be character pointer, consider the following statement

  1. p[i]=*(p+i)
  2. i[p]=*(i+p)
  3. p+i=&(i[p])

how many are true ?? 

Please log in or register to answer this question.

Related questions

592
views
1 answers
4 votes
Rohan Mundhey asked Nov 5, 2016
592 views
323
views
0 answers
1 votes
aakash pandey asked Apr 30, 2022
323 views
We use character array to declare string in C. So, if I declare an array likecharacter ch[ ] = {‘a’,’k’,’a’,’/o’};and try printing ch[3] like :printf(“%C”,ch[3]);what will be the output ?
682
views
0 answers
3 votes
nishitshah asked Jan 26, 2018
682 views
Answer given is option C. How ?I gather that the character pointer will point to the first byte of the integer whose value is 255.But after that what should be the solution ?
1.4k
views
1 answers
0 votes
Manu FG asked May 21, 2017
1,375 views
/*strcpy"copy t to s; */void strcpy(char *s, char *t){while((*s++=*t++) !='\0');} Can anyone explain how *s++ or *t++ ... operator being executed first or the dereferencing operator?. Can anyone show the steps of executing this function.