Why should I target the address and not the actual variable name when swapping values of two variables using functions?

后端 未结 0 1506
暗喜
暗喜 2021-01-26 06:30

I\'m fairly new to C programming and I don\'t get why swapping values of two variables when using a function shouldn\'t be the same as the normal way without using pointers.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题