Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
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