Question: Part 3: Write a C program addressOfArray.c by inserting the code below in the main function. 1 I/ initialize an array of ints 2 int

Part 3: Write a C program addressOfArray.c by inserting the code below in the main function. 1 I/ initialize an array of ints 2 int numbers[5] 0 5I/ print the address of the array variable 6 | printf ( "numbers- %p ", numbers); 7 8 // print address of each array element using method 1 9 printf ("Method 1: Addresses of array elements") 10 do printf ( "numbers [%u] %p ", i, (void *) (&numbers [1] ) ) ; 12 13while(i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
