C : is there “lazy evaluation” when using && operator, as in C++?

Yes && is short circuited and you are using it correctly.
If next is NULL string compare will never happen.

Leave a Comment