Define an int function that takes 6 parameters 2 of them a


Lab Assignment

Define an int function that takes 6 parameters. 2 of them, a and b are of type int- 4 other parameters are pointers to int. The function returns a mod b (a%b)- The 4 pointers point to the sum, the difference, the product, and the quotient of a and b, respectively. In the main function, enter 2 numbers and call your function to find the 5 results (sum, difference, product, quotient, and remainder). Note, you must bring the results to the main to print.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Define an int function that takes 6 parameters 2 of them a
Reference No:- TGS02304010

Now Priced at $25 (50% Discount)

Recommended (98%)

Rated (4.3/5)