Why doesn't return modify the value of a parameter to a function

前端 未结 7 1012
盖世英雄少女心
盖世英雄少女心 2020-12-22 13:57

Possible Duplicate:
How to modify content of the original variable which is passed by value?

I am building a

7条回答
  •  囚心锁ツ
    2020-12-22 14:47

    That's because you never assign another value than 0 to rArea in your main program.

提交回复
热议问题