uthcode / learntosolveit

The C Programming Language Companion
http://www.learntosolveit.com
Other
198 stars 1.37k forks source link

Ex_2.5_any.c remove unnecessary if conditions #131

Closed softerboy closed 3 years ago

softerboy commented 3 years ago

Use early return strategy instead of using additional flags

orsenthil commented 3 years ago

Thank you, @softerboy .