Example
Build with cc example_c.c -lodbc -oexample_c
The above works as I built unixODBC into /usr/local/lib and /usr/local/include, other installs may need -I and -L
next