menu
Qamnty
Login
Register
My account
Edit my Profile
Private messages
My favorites
In C, for variables of type int we use %i as the format specifier in printf and scanf statements. What do we use as the format specifier for variables of type float, if we want …
Ask a Question
Questions
Unanswered
Tags
Ask a Question
In C, for variables of type int we use %i as the format specifier in printf and scanf statements. What do we use as the format specifier for variables of type float, if we want …
asked
Nov 13, 2022
84.1k
views
5
votes
In C, for variables of type int we use %i as the format specifier in printf and scanf statements. What do we use as the format specifier for variables of type float, if we want to output the floating point value, showing 3 decimal places?
Computers & Tech
college
Sureshunivers
asked
by
Sureshunivers
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.
1
Answer
5
votes
Answer:
variable with a leading sign, three fractioned digits after the decimal point
Hae
answered
Nov 19, 2022
by
Hae
8.1k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Jul 6, 2022
23.0k
views
Which data type uses %i as a format specifier
Blackchestnut
asked
Jul 6, 2022
by
Blackchestnut
7.8k
points
Computers & Tech
college
1
answer
2
votes
23.0k
views
asked
Feb 15, 2022
199k
views
Which data type uses %i as a format specifier
Macnique
asked
Feb 15, 2022
by
Macnique
7.8k
points
Computers & Tech
college
1
answer
3
votes
199k
views
asked
Sep 16, 2024
105k
views
In C programming, what do the following printf format specifiers represent: %c, %d, %e, %f, %i, %n, %o, %s, %u, %x, %%?
Brian David Berman
asked
Sep 16, 2024
by
Brian David Berman
7.9k
points
Computers & Tech
high-school
1
answer
5
votes
105k
views
Ask a Question
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
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
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qamnty