Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

More Books

Students also viewed these Databases questions

Question

3. Describe the communicative power of group affiliations

Answered: 1 week ago