• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

About printf

What’s the meaning of the width in “[width].[precision]”,such as “ %8.5f”,and what shall I pay attention when I use it?

c
18th Mar 2021, 1:20 AM
肇锊 搎
肇锊 搎 - avatar
1 Answer

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Where make_unique is better than unique_ptr(raw pointer)
0 Votes
Best way to learn a new programming language fast?
1 Votes
Can someone help and explain better on slicing
1 Votes
Will i land a job
1 Votes
Course
1 Votes
Why we use oops in python rather than any function ?
1 Votes
Why we use return in function ?
0 Votes
someone helps how can i make two for loops over a 2d array in c ( i didn't learned pointers yet )
0 Votes
Leap year check
0 Votes
why is my leaderboard diferent than my brothers
0 Votes