Garmin Interview Question

Tell me what this C function does and what, if anything, is wrong with it.

Garmin Interview Question: Tell me what this C function does and what, if anything, is wrong with it. | Glassdoor