Results 1 to 21 of 21

Thread: return

Threaded View

  1. #1

    Thread Starter
    Frenzied Member aewarnick's Avatar
    Join Date
    Dec 2002
    Posts
    1,037

    return

    I am reading this book and it is using return to do certain things like putting return x * y (x-1); at the bottom of the program. While a function prototype is at the top outside all braces.

    But it does not explain what return is actually doing? And I know that return 0 terminates the program but why?
    Last edited by aewarnick; Jan 2nd, 2003 at 11:03 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width