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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!