Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C Programming Question: 1) int *p; p = &a, what do we say about p at this point? a) p points to integer a b)
C Programming Question:
1) int *p; p = &a, what do we say about p at this point?
a) p points to integer a
b) p is equal to a
c) a now points to integer p 2)
int a =1, b =2, z[10];
int *p;
p = &a; b = *p; *p = 0;
p = &z[0];
What can we say about p and a at this point? a) a now points to z[0] and p is currently 0
b) p now points to z[0] and a is currently 0
c) p is equal to z[0] and a is currently 0
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