count=function(a,b); printf(" ...", count); Warning: too many arguments in the format
"arguments" in the warning are "a,b and count", therefore result in "too many"
Solution:
Option 1: e.g. printf("Count number of %c in %s is %d\n", target,str,my_count);
Option 2:e.g. a=fun(ch, str);
b=a;
printf("Count number is %d",b);