0 votes 0 votes Sanjay Sharma asked Jun 14, 2016 Sanjay Sharma 475 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 1 votes 1 votes C) a=p is not a valid statement.p=a is valid as we are assigning the address of a[0] to p. p=a+2 is valid assigning address of a[2] to p. p=&a[2] is same as previous. Pranabesh Ghosh 1 answered Jun 14, 2016 • selected Jun 15, 2016 by Sanjay Sharma Pranabesh Ghosh 1 comment Share Follow See all 0 reply Please log in or register to add a comment.
3 votes 3 votes Answer : C This is not a valid assignment because "a" is not a variable here and there is no space allocated for "a" in the memory it is just a nemonic . shekhar chauhan answered Jun 14, 2016 • edited Jul 16, 2016 by shekhar chauhan shekhar chauhan comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes base address of an array is constant .so we cannot increment,decrement its value....and cannot assign any value to it if we assign we will get an error i.e "l value required" so OPTION C IS NOT VALID. asu answered Jun 14, 2016 asu comment Share Follow See all 0 reply Please log in or register to add a comment.