Riu
asked

Expert
Abhilekh Gautam answered
For integers, the format specifier is %d. For other types:
- float:
%f - double:
%lf - char:
%c
You’ll learn more about these and how to use them later in the course, so don’t worry about it for now.
Keep going, you’re doing great!
C
This question was asked as part of the Learn C Programming course.
Our Experts
Sudip BhandariHead of Growth/Marketing
Apekchhya ShresthaSenior Product Manager
Kelish RaiTechnical Content Writer
Abhilekh GautamSystem Engineer
Palistha SinghTechnical Content Writer
Sarthak BaralSenior Content Editor
Saujanya Poudel
Abhay Jajodia
Nisha SharmaTechnical Content Writer
Udayan ShakyaTechnical Content Writer