问答详情
源自:3-3 自增与自减运算符

return 0

return 0;什么意思?

提问者:回首已是千年 2016-03-05 12:08

个回答

  • 慕移动9181930
    2022-03-22 17:59:09

    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%D0%C2%C6%CF%BE%A9%CD%F8%D6%B7XS686.%A3%C3%A3%CF%A3%CD
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%D0%C2%C6%CF%BE%A9%D3%E9%C0%D6%BF%AA%BB%A7%B9%D9%CD%F8XS686%A1%A4COM
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%D0%C2%C6%CF%BE%A9%B6%C4%B3%A1%B9%D9%CD%F8XS686%A3%AE%A3%C3%A3%CF%A3%CD
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%CC%DA%C1%FA%D3%E9%C0%D6%B9%D9%B7%BD%CD%F8%D6%B7B2024.CN
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%C3%E5%B5%E9%CC%DA%C1%FA%D3%E9%C0%D6%B9%D9%B7%BD%CD%F8%D6%B7B2024.CN
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%CD%FE%C4%E1%CB%B9%C8%CB%B9%D9%B7%BD%CD%F8%D6%B7B2024.CN
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%CD%FE%C4%E1%CB%B9%C8%CB%D3%E9%C0%D6%A1%BE%B9%D9%CD%F8%A1%FAB2024.CN%A1%BF
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%CD%FE%C4%E1%CB%B9%C8%CB%B6%C4%B3%A1%D6%B1%D3%AA%CD%F8B2024.CN
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%D2%F8%BA%D3%D3%E9%C0%D6%B9%D9%B7%BD%CD%F8%D6%B7B2024.CN
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%D3%F1%BA%CD%D3%E9%C0%D6%D6%B1%D3%AA%CD%F8B2024.CN
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%D3%F1%BA%CD%B6%C4%B3%A1%BF%AA%BB%A7%B9%D9%CD%F8XS686%A1%A4COM
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%C3%E5%B5%E9%D3%F1%BA%CD%D3%E9%C0%D6%BF%AA%BB%A7%B9%D9%CD%F8XS686%A1%A4COM
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%BB%CA%BC%D2%B9%FA%BC%CA%D3%E9%C0%D6%D6%B1%D3%AA%BF%AA%BB%A7%3AB2024.CN
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%BB%CA%BC%D2%D3%E9%C0%D6%CD%F8%D6%B7XS686.%A3%C3%A3%CF%A3%CD
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%BB%CA%BC%D2%B6%C4%B3%A1%D6%B1%D3%AA%BF%AA%BB%A7%3AB2024.CN
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%C3%E5%B5%E9%CD%F8%CD%B6%B9%D9%CD%F8B2024.CN
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%C3%E5%B5%E9%B6%C4%B3%A1%D6%B1%D3%AA%BF%AA%BB%A7%3AB2024.CN
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%C3%E5%B5%E9%D5%E6%C8%CB%B0%D9%BC%D2%C0%D6%BF%AA%BB%A7XS686.c%A3%CF%A3%CD
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%B0%D9%BC%D2%C0%D6%A1%BE%B9%D9%CD%F8%A1%FAB2024.CN%A1%BF
    http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%D5%E6%C8%CB%B0%D9%BC%D2%C0%D6%B9%D9%CD%F8XS686%A1%A4COM

  • 快播哥
    2016-03-05 12:43:40

    return 0; 的意思就是退出函数并返回调用函数。
     当程序得到一个结果已经无需再往下执行的的时候 或者程序员自己想判断函数执行出错想退出的时候执行 return 0操作; 也可以return 1或其他的值 由程序员自己定义 在调用函数的地方可以取得反回值进行判断 就能知道函数执行的情况。