Question: Within a file named Program.c , write a C program whose main function declares an int variable named n , and assigns the value 456
Within a file named Program.c, write a C program whose main function
- declares an int variable named n, and assigns the value 456 to that variable
- declares a pointer variable named p
- assigns the value of variable p to be the address of variable n
- using the dereferencing operator and the variable p, prints the value of the variable to which p points (i.e., prints the value of variable n)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
