Find all files with the extensions .c or .h in the current directory and its subdirectories, and search for the string 'printf' in a case-insensitive manner.
find . -name *.[ch] | xargs grep -il 'printf'