added C examples