result:Code:#include <stdlib.h> #include <stdio.h> int main(void) { char newString[] = "00000"; int a = 0; a = 8; newString[1] = a; printf("%s", newString); return EXIT_SUCCESS; }
00000
how can i assign 8 to newString[1] and make the end result as:
08000?