I am new to coding, and my team mates mentioned that I should not declare more than one variable in a single line. I code in C, and I noticed alot of documentation doing that, i.e:
int i, j, k;
is there a real reason behind declaring in a single line sometimes and other times not?
on the other side, I tend to declare each variable in a single line to initialise it, can i do that with several variables and not run into problems?
I use gcc compiler.