New course! Every coder should learn Generative AI!
Try a free lesson+ 2
How can i convert integer to char in c language??
2 Answers
+ 4
Airree in that case it would print the character whose ASCII value is 20.
+ 3
Just assign it:
int x = 20;
char y = x;
printf("%c", y);