menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
How can I print an int as a char in C?
asked
Jul 16, 2019
141k
views
1
vote
How can I print an int as a char in C?
Computers and Technology
college
Gerson Dantas
asked
by
Gerson Dantas
8.1k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2
Answers
0
votes
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'.
Clarus Dignus
answered
Jul 18, 2019
by
Clarus Dignus
8.5k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
3
votes
Convert it to a char and print it
Peng
answered
Jul 20, 2019
by
Peng
7.9k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Explain why binary codes are used to represent characters, numbers and symbols :)
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org