//
//数组.c
//冰
//
//Created by lanou on 16/10/18.
//Copyright (c) 2016年lanou. All rights reserved.
//
#include
intmain(){
charstr[] ="asdhfgj";
for(inti =0; i <7/2; i++) {
inttemp = str[i];
str[i] = str[7-i-1];
str[7-i-1] = temp;
}
printf("%s\n",str);
}