How can I put an integer value in a string? something like:
I tried testing this out as part of a program, and after messing about a bit couldn't get it to work. Even though it compiled, when it ran, no string was printed.Code:int a=5;
char string[]=a;
printf("\n%s\n",string);
Also, if there is a way, can it be done for integers greater than 1 digit long also?

