摘要:
函数参数一重指针可以改变形参的值gcc -g -o test test.c文件:test.c#include <stdio.h>#include <stdlib.h>#include <string.h>void swap(char *left, char *right){char tmp = *left;*left = *right;*right = tmp;}void permutation(char* pStr, char* pBegin){ char *pCh; if(!pStr || !pBegin) return; // if... 阅读全文