Thread
:
Comma Operator
View Single Post
#
3
(
permalink
)
May 28th, 2009, 05:12 PM
KenStewart
Registered User
Points: 39, Level: 1
Activity: 0%
Join Date: May 2009
Posts: 5
Thanks: 0
Thanked 3 Times in 3 Posts
Comma Operator
The comma operator is also used to seperate expressions. It appears frequently in the for statement. Example:
for (i = 0, j = strlen(s) - 1; i < j; i++, j--)
Ken
Last edited by KenStewart : May 28th, 2009 at
05:21 PM
.
The Following User Says Thank You to KenStewart For This Useful Post:
phuc_tran
(May 28th, 2009)
KenStewart
View Public Profile
Find all posts by KenStewart