Good practice for naming function arguments in c? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answer
+ 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