罅天的博客#include"stdio.h"#include int addArrays(int * a, int * b, int n);main(){int n = 0;int *a, *b;int x = 0;int i = 0;printf("Please input length of the array.\n");scanf("%d", &n);fflush(stdin);...
郑金条的博客算出字符长度,删除str[0]和最后一个字符。#include#include#define n 100void main(){char a[n],i,t;scanf("%s",a);t=strlen(a);for(i=0;ibaia[i]=a[i+1];a[i-1]='\0';printf("%s",a);}扩展资料:字符串在存储上...