How do i convert value back to const char
#include <stdio.h>
#include <iostream>
using namespace std;
int main()
{
int i, value;
const char text[] = "456";
for (i = 0, value = 0; text [i] != '\0'; ++i)
{
int digit = text [i] - '0';
value = 10 * value + digit;
}
value++;
cout<<value<<"\n";
system("pause");
return 0;
}