Seems normal, the printf() is printing s and r, which have both been initialised to 0.
if you want to return those from the function, you'll need to change them from by-value to by-reference.

If...