KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
By man I find printf("%*d", width, num); and printf("%2$*1$d", width, num); are equivalent. But IMO the second style should be the same as: printf("%*d", num, width); However via testing it seems man is right; why?
Tags (comma-separated)
Save Edits
Cancel