Home > Back-end >  Why didn't the value of a and b swap
Why didn't the value of a and b swap

Time:10-09

CodePudding user response:

Sawp function is wrong
Int t;
T=* p1;
* p1=* (p2);
* the p2=t;

CodePudding user response:

Upstairs positive solution, which is equal to, you can has a data type int * and an int, etc,,,,
  • Related