Grep -Filetyp

grep -r --include="*.[ch]" pattern .
Careful Constrictor