輸入3個字符串,按從小到大的順序輸出。要求使用指針的方法進行處理。
include <stdio.h> include <stdlib.h> include <string.h> void swap(char** a,char** b)//輸入的參數是二級指針(指針的地址) { char* temp;//對指針(內容的地址 ...
include <stdio.h> include <stdlib.h> include <string.h> void swap(char** a,char** b)//輸入的參數是二級指針(指針的地址) { char* temp;//對指針(內容的地址 ...
一個字符串, 程序對其中所有字符進行排序,例如鍵盤輸入: helloitcast程序打印:acehil ...
#include <stdio.h>#include <string.h>int main(){ char a[10],b[10],c[10],t[10]; int x,y,z ...