Just started learning c. And I noticed that there are 2 format specifiers for int.
%i
%d
I like to use %i
(The i of integer). But I see most people use %d
. Is there like a rule or something (like you have rules for variable naming (camelCase or underscores etc.)).
I allready noticed this question but it did not really help.
But this is not my question. My question was which one is more commonly used. And which one should I pick. My question is not wat is the difference. If you look good at these questions you see that in the other question there is nothing about which one is more commonly used they just say it is interchangeble.
Is it just so that you can choose. Is one of them more common to use or recommanded?