SyntaxFix
Write A Post
Hire A Developer
Questions
Quite simple
int main() { int num = 123; char buf[50]; // convert 123 to string [buf] itoa(num, buf, 10); // print our string printf("%s\n", strlen (buf)); return 0; }