Skip to content
RED SAGSkills
easy5 pts · first answer countsembedded-ccontrol-flow

Guarding a pointer in one test

Why is this condition safe even when dev is NULL?

if (dev != NULL && dev->ready) { start(dev); }
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions