Skip to content
menu
arrow_back
CJ
Coding With Joseph
search
light_mode
Light
desktop_windows
System
dark_mode
Dark
bolt
15
free / day
Sign in
Create account
←
Back to Code Walkthrough
A Char Printed as a Number
C code walkthrough · Question 30
medium
Data Types
Code
Read carefully. What does this print?
1
#
include
<stdio.h>
2
int
main
(
)
{
3
char
ch
=
'A'
;
4
printf
(
"%d %c\n"
,
ch
,
ch
)
;
5
return
0
;
6
}
Your answer
What will this code output?
Submit answer
←
Previous
Next
→
home
Home
grid_view
Problems
calendar_today
Daily
workspace_premium
Pricing
menu
Menu