0
Is there any program in c where you can convert the int to char for ex. 5 - b if there is can you give me a sample thanks :)
2 Respostas
+ 1
type casting:
eg: int a=65
char b = char(a); <- type casting
//output : b= 'A'
eg 2:
char b='a';
int c = 1 + int(b); <- typecasting
//output : c = 66
0
I don't know of any c library function that converts specific int to char.
But you could make one very easily according to your need.