Question: c.)Answer sheet states that p = a[0] would be illegal....trying to figure out why that would be the case 12. Suppose a is a one-dimensional
c.)Answer sheet states that p = a[0] would be illegal....trying to figure out why that would be the case
![c.)Answer sheet states that p = a[0] would be illegal....trying to figure](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f32b43e5b94_35566f32b4383e18.jpg)
12. Suppose a is a one-dimensional array of size 5 and p is a pointer variable. Assuming that the assignment p has just been performed. Which of the following expressions is illegal? a) p &a[0] b) *p [3] c) p a[0] d) a), b), and c) are a legal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
