(C PROGRAMMING ONLY) 1. Point Me There by CodeChum Admin I was supposed to be your tour guide but I don’t know where our destination is. I have a list here that contains all the destinations where we are going to go. Each destination is basically represented with an integer. But it seems that I'm confused. Please help me by pointing me to the correct address. Instructions: In the code editor, you are provided with a main() code that asks for an integer input from the user and stores this to the variable n. Your task is to set the value of the destination_ptr found at line 9 to the address of the variable n. Aside from this, do not edit anything else. Input 1. An integer value Output Enter the destination number: 2 Found it!
(C PROGRAMMING ONLY)
1. Point Me There
by CodeChum Admin
I was supposed to be your tour guide but I don’t know where our destination is. I have a list here that contains all the destinations where we are going to go. Each destination is basically represented with an integer. But it seems that I'm confused.
Please help me by pointing me to the correct address.
Instructions:
In the code editor, you are provided with a main() code that asks for an integer input from the user and stores this to the variable n.
Your task is to set the value of the destination_ptr found at line 9 to the address of the variable n.
Aside from this, do not edit anything else.
Input
1. An integer value
Output
Enter the destination number: 2
Found it!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images