Ask Question
16 October, 01:21

How can I print an int as a char in C?

+2
Answers (2)
  1. 16 October, 04:34
    0
    Use a char format specifier instead of an integer format specifier. C will automatically print the integer as a character, e. g. 97 will print as 'a'.
  2. 16 October, 04:45
    0
    Convert it to a char and print it
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “How can I print an int as a char in C? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers