Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - An array of shapes is converted into shapes.
An array of shapes is converted into shapes.
# include & ltstdio.h & gt

# include & ltstring.h & gt

# include & ltstdlib.h & gt

Invalid? IntToStr(int? * Me? Charles? *c,? int? len)

{//i is an integer array, c is an array for storing strings, and len is the number of elements in the integer array.

int? k;

Charles? tmp[ 10];

for(k = 0; k & ltlenk++)

{

itoa(i[k],tmp, 10);

strcat(c,tmp);

}

}

int? Master ()

{

int? i[]={ 10, 1 1, 12 };

Charles? c[ 100]= " ";

IntToStr(i,c,sizeof(I)/sizeof(I[0]));

printf("%s\n ",c);

Return? 0;

}