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

What is %4d in printf function in C language

https://code.sololearn.com/cAf494N7V7pa/?ref=app

c
8th Oct 2022, 4:21 AM
Ashish Raj
Ashish Raj - avatar
1 Answer
+ 6
21C47 Ashish Raj %4d means that the whole field takes up 4 characters
8th Oct 2022, 4:25 AM
BroFar
BroFar - avatar

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
Which path should I take?
1 Votes
I feel like C++ might be the way for me to go
1 Votes
MENTOR QUERY ✹
0 Votes
about libraries
1 Votes
I am aiming for speed, power, and control.
0 Votes
Can i learn php on this app
0 Votes
How'd does negative and positive slicing works in python??
2 Votes
From Fathir Again
0 Votes
Starting to study Python
0 Votes
Regarding coding competitions and internships
0 Votes