Question: int main ( int i - 5; int *intPtr; /Extract the address of variable i into the pointer: // Print this address: printf (Variable i

 int main ( int i - 5; int *intPtr; /Extract the

int main ( int i - 5; int *intPtr; /Extract the address of variable i into the pointer: // Print this address: printf ("Variable i is located at address %p ", ntPtr); // Use the address: intPtr *intPtr 1; // See what happens: printf ("I -KdNn", ); /What is in i now? Exercise 1.1: Type up (in the pointer.c file), compile and execute the above program. Add a second pointer variable that points to i and modifies i using only the second pointer variable. Can two pointers point to the same thing? (Put your answer in README.md)

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!