Question: If p and q are pointer variable names and a is an array, which of the following expressions are not syntactically correct, because they violate

If p and q are pointer variable names and a is an array, which of the following expressions are not syntactically correct, because they violate the rules concerning lvalues and rvalues?
a.*p =p+2;
b. &p=&a[0];
c.q=&(p+2);
d.a[5]=5;
 If p and q are pointer variable names and a is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!