Why is strlen() not checking for NULL?
strlen()
if I do strlen(NULL), the program segmentation faults.
strlen(NULL)
Trying to understand the rationale be
The standard does not require it, so implementations just avoid a test and potentially an expensive jump.