Question: Write a C program not C++, only C to do the following with pointer: 1) Declare an array of pointers named alpha of 15 components
Write a C program not C++, only C to do the following with pointer:
1) Declare an array of pointers named alpha of 15 components of type int.
2) Output the value of the 12th component of the alpha.
3) Set the value of the 5th component of the alpha to 22.
4) Set the value of the 9th component of the alpha to the sum of the 7th and 14th
components of the alpha.
5) Set the value of the 3rd component of the alpha to four times the value of the 9th
component minus 33.
6) Output alpha so that three (3) components appear on each line.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
