Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
Triave
· 10y ago · 0 comments
In C, empty strings are truthy, being a non-null pointer to a NUL character. Depending on what you mean by "an empty array" that might also be a non-null pointer to a zero-length region of memory, and thus also truthy in C.
Comments
No comments yet.
Better HN