+ 1

Good practice for naming function arguments in c?

I’m curious as to what is good practice? If the function is only intended for certain arguments is it common to name the arguments the same as the variables in the main portion of the code?

26th Oct 2018, 1:40 PM
Ryan
Ryan - avatar
1 Respuesta
+ 1
thanks. i was thinking the same thing. Now i just need to practice naming my loop values better for embedded loops. thanks again for the reply.
27th Oct 2018, 11:35 PM
Ryan
Ryan - avatar