Question : convert int to string c
Answered by : plif-plouf
char s[] = "42";
int num = atoi(s);
Source : | Last Update : Fri, 07 Oct 22
Question : num to string in c
Answered by : yucky-yacare-rmaqm36icomr
int num = 321;
char snum[5];
// convert num to string and save in string snum
itoa(num, snum, 10);
// print our string
printf("%s\n", snum);
Source : | Last Update : Tue, 04 Oct 22
Question : objective c convert int to string
Answered by : mobile-star
NSString* myNewString = [NSString stringWithFormat:@"%d", myInt];
Source : | Last Update : Tue, 10 Mar 20