C - how do i return multiple values from a function?

Posted by hatorade on Stack Overflow See other posts from Stack Overflow or by hatorade
Published on 2010-04-12T06:03:43Z Indexed on 2010/04/12 6:13 UTC
Read the original article Hit count: 313

Filed under:
|

if i have a function that produces a result int and a result string how do i return them both from a function? as far as i can tell i can only return 1 thing, as determined by the type preceding the function name

© Stack Overflow or respective owner

Related posts about c

    Related posts about return-value