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