Comment by oneeyedpigeon
10 years ago
How would you rewrite it? Would you use a local variable for the result from strlen(), for example?
10 years ago
How would you rewrite it? Would you use a local variable for the result from strlen(), for example?
Basically. The compiler will optimize it anyways in the end.