C Program not giving correct output[code]Next_multiple[/code] doesn't point to anything; it is just a normal [code]int[/code].
filled in the missing code Are you asking us to do your assignment for you?
this is a c++ book example.. can anyone solve it??This is not a difficult task. I assume this is an assignment you've been given?
Pass-by-reference Additionally, you are trying to return something from a function defined to not return anything.
HelpTake a quick look at this section and see if you can figure it out: