Home > Back-end >  Reference exchange
Reference exchange

Time:10-31

To overcome the

CodePudding user response:

The swap function parameters of & amp; To get rid of

CodePudding user response:

I don't know what is the original poster with compiler model, as the main body of the building Lord shine I CB2009 code compilation, does not appear in the figure error, operation can get expected results (the exchange of ap and bp pointing),

CodePudding user response:

Char * ap=(char *) "hello";

CodePudding user response:

In front of the char * ap added a const can
Or define ap for char array
  • Related