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