[Solved] How To assign a number in a integer variable to a string January 30, 2023 by Kirat You can use sprintf or snprintf. int c = 4; char tin [Some_Length]; sprintf(tin , "%d", c); Or snprintf(tin , Some_Length, "%d", c); Also, there is no string type in C. 1 solved How To assign a number in a integer variable to a string