Question: Write a C program to create a ID array of 4 elements. E.g. X = {1,2,3,4). Create a 2D array Y(3x4) size in which
Write a C program to create a ID array of 4 elements. E.g. X = {1,2,3,4). Create a 2D array Y(3x4) size in which the second and third row are respectively, Row 2= 2 x (row 1) Row 3=3 x (row 1). i.e. Y= {1, 2, 3, 4; 2, 4, 6, 8; 3, 6, 9, 12). Use pointer to print the address of each ID array and also print the values of each element.
Step by Step Solution
There are 3 Steps involved in it
C program that fulfills your requirements include int main int X4 1 2 3 4 int Y34 Assigni... View full answer
Get step-by-step solutions from verified subject matter experts
