#include<stdio.h> int count_substr(char *str, char *substr) { int count = 0; char *p = substr; while(*str != '