Is it possible to print characters from their ascii value in c? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it possible to print characters from their ascii value in c?

2nd Sep 2018, 1:17 PM
sam
sam - avatar
4 Answers
+ 2
printf("%c", intVar);
2nd Sep 2018, 1:24 PM
Potato Squad
Potato Squad - avatar
+ 1
printf("%d", charVar);
2nd Sep 2018, 1:21 PM
Potato Squad
Potato Squad - avatar
+ 1
ohhhh oops
2nd Sep 2018, 1:23 PM
Potato Squad
Potato Squad - avatar
0
is that not printing the ascii value. I mean to input the ascii value and output the char?
2nd Sep 2018, 1:22 PM
sam
sam - avatar