Added C examples for querying