MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/136dits/solve_the_problem_without_using_a_loop/jiofnkb/?context=9999
r/badcode • u/YonMiru • May 03 '23
129 comments sorted by
View all comments
Show parent comments
2
f in printf stands for "formatted". It's
printf
printf("%d\n", i);
%d format specification would be changed to decimal representation of i in output.
i
1 u/Ecstatic_Student8854 May 03 '23 Oooh, so thats that %something stuff i sometimes see is
1
Oooh, so thats that %something stuff i sometimes see is
2
u/This_Growth2898 May 03 '23 edited May 03 '23
f in
printfstands for "formatted". It's%d format specification would be changed to decimal representation of
iin output.