Question: Write a C program that scans three integers x, y and z from the user and implements a function void MySuperFunc(int *, int *,

Write a C program that scans three integers x, y and z from the user and implements a function void

Write a C program that scans three integers x, y and z from the user and implements a function void MySuperFunc(int *, int *, int *) that replaces the input integer x by x+y+z, the input integer y by y, and the z by x*y* z. Your function should change the values of x, y and z in the main. Sample input/output: Please enter three integers x, y and z: 5 2 10 From main, before ==> x= 5, y=2 and z= 10 After calling the method MySuperFunc: From main, after ==> x= 17, y=32 and z= 40

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include include include function prototype void MySuperFuncint x int y int z int main d... View full answer

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 Programming Questions!