Answered step by step
Verified Expert Solution
Question
1 Approved Answer
7 Assume that j is an int variable and q and p are pointers to int. Which of the following assignments are legal? Encircle what
7 Assume that j is an int variable and q and p are pointers to int. Which of the following assignments are legal? Encircle what you think is legal (a) p qi (b) &p q/ (f) p-j; (g) p*q (h) *p-qi Hint: Both sides of the equations should be of the same kind 8 Suppose the following declarations and statement are in effect. What are the values of x and y in each case? (a) int x 5, y= 12, *p- 6%, *g- &y; m *n; 2; kn 5; *a *b; *a2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started