example4.c demonstrates row buffering. It sends a query to Adaptive Server, buffers the returned rows, and allows you to examine them interactively.
This sample requires access to Adaptive Server.