2,637 views
2 votes
2 votes
let x be an array of integer . which of the following can not be present in the left hand side of an assignment statement

a)x   b) x+i   c) * (x+i)  d) &x[i]

2 Answers

0 votes
0 votes

a,b,d cannot be on left hand side because x is a constant pointer. You cannot modify its address.

reshown by

Related questions

3 votes
3 votes
1 answer
1
Sanjay Sharma asked Feb 17, 2017
6,537 views
Let x be an array . which of the following operations are illegal and whya) ++x b) x+1 c) x++ d) x - -
8 votes
8 votes
2 answers
3