|
if u want a single program then U can do this
fun_conv(char *str, int *num, int flag)
{
if(flag==0)
convert int to string using function itoa
else
convert string to int using fun atoi
}
U can find the description of these functions in help menu of compiler or from internet..
U have to do some homework... U cannot expect entire code...
|