Ask Question
25 May, 02:15

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

+1
Answers (2)
  1. 25 May, 02:37
    0
    Convert it to a char and print it
  2. 25 May, 04:31
    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'.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “How can I print an int as a char in C? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers