Question: TASK-1: Read the following code, write the comments on each instruction and answer the question given below void main) int a, *x; int b, *y:

TASK-1: Read the following code, write the comments on each instruction and answer the question given below void main) int a, *x; int b, *y: // int c, *z; /1 // x=&a; z = &c; *x = 42; // ky = 13; // tz=20; // *z = 13; // Question: In the above code, z have a pointe (i.e., the variable it is pointing to). It stores the number 20 into its pointe. At the end of the program, what is the value ofr's pointe? TASK-2: Consider the following drawing... Using C anguage, write a program that creates the above pointer structure and display the values and addresses with different possible ways. TASK-3: Write a program to find the product of two 3x3 matrices using Pointers and Arrays
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
