News for hackers. Stuff that matters.
Re:Elevate your C programming skills by exploring the SQLite... by jjnoakes on Sunday July 09, 2017 @02:25PM (#14730982)
Sure, if you return an index. I bet the parent poster was discussing returning a pointer, though.

Imagine look4 returned a pointer to the found element. Making look4's signature const-correct in C is not possible.

(Think of strchr).

There are no comments on this comment yet.