psandekian
Programmer
Hi,
I'm new to C and I'm reviewing some code that's written in C in a UNIX environment. I was wondering if someone might be able to explain this statement:
I understand the general principles of the for loop.
for y = 1970 while y < Y increment y+1
But I do not understand the middle part.
I hope someone can help.
Thanks.
Patty
I'm new to C and I'm reviewing some code that's written in C in a UNIX environment. I was wondering if someone might be able to explain this statement:
Code:
for (y = 1970, Y += (Y < 70) ? 2000 : 1900; y < Y; y++)
for y = 1970 while y < Y increment y+1
But I do not understand the middle part.
I hope someone can help.
Thanks.
Patty