Could someone please explain the difference between parameter passing in C please?
According to professor notes there are 4 different ways to pass parameters
- Call-by-value
- Call-by-address (pointer)
- Call-by-alias
- Global variable / Static variable
If you could please give an example, I would greatly appreciate that, and your work would be commended.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…