Pass by reference in C

后端 未结 7 1573
夕颜
夕颜 2020-12-03 03:34

I\'m trying to use pass by reference in C so that the function can modify the values of the parameters passed to it. This is the function signature:

int loc         


        
7条回答
  •  臣服心动
    2020-12-03 04:06

    You can't do this in c. c doesn't have reference, you can use pointer instead.

提交回复
热议问题