You're repeating yourself. Why? Because C can't know what types you are passing to it.
So you have to explicitly do '%d' or '%s' to let printf know what this is.
But yes, I think it's easier to type than {0}
You're repeating yourself. Why? Because C can't know what types you are passing to it.
So you have to explicitly do '%d' or '%s' to let printf know what this is.
But yes, I think it's easier to type than {0}