I having problems extracting chx then ch only returns the first charecter
char* chini(long int a){
char* chx[12];
itoa (a,chx,10);
return *chx;
}
char ch[12];
*ch=chini(init);
puts(ch);
I want to have all of chx in ch but it only returns chx[0]