0 votes 0 votes int *p, A[3]={0,1,2}; p=A; *(P+2)=5; p=A++; *P=7; what are the values stored in the atray A from index 0 to index 2 after execution of the above cod? Programming in C programming-in-c pointers + – aaru14 asked Dec 5, 2017 aaru14 799 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Rishabh Gupta 2 commented Dec 5, 2017 reply Follow Share p = A++; this line will produce error. "lvalue required". https://stackoverflow.com/questions/19130236/array-increment-operator-in-c 1 votes 1 votes aaru14 commented Dec 6, 2017 reply Follow Share p=A++ it means we cant change base addrrss of array right?? 0 votes 0 votes Please log in or register to add a comment.
Best answer 0 votes 0 votes i think it produce compiler error p=A++; //base address of array can't be change pawan kumarln answered Dec 5, 2017 selected Apr 13, 2018 by rio pawan kumarln comment Share Follow See 1 comment See all 1 1 comment reply aaru14 commented Dec 6, 2017 reply Follow Share ok thnku 0 votes 0 votes Please log in or register to add a comment.