Computers and Technology

Write the definition of a function divide that takes four arguments and returns no value . the first two arguments are of type int . the last two arguments arguments are pointers to int and are set by the function to the quotient and remainder of dividing the first argument by the second argument . the function does not return a value .the function can be used as follows: int numerator=42, denominator=5, quotient, remainder; divide(numerator, denominator,& quotient,& remainder); / quotient is now 8 / / remainder is now 2 /

answer
Answers: 2

Similar questions

Do you know the correct answer?
Write the definition of a function divide that takes four arguments and returns no value . the first...

Questions in other subjects:

Konu
Mathematics, 10.10.2019 06:10