User profile: Zhuge

User info
User name:Zhuge
Location:Mizuho
Statistical data
Gender:Male
Occupation:Student
Skills:C
PHP
C++
Javascript
CSS
HTML
History
Joined:
Number of posts:4137
Latest posts:

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.

Help
Take a quick look at this section and see if you can figure it out: http://www.cplusplus.com/doc/tut...