printf("%d is present %d times in array.\n",i,count[i]);

@SDH: It appears to be a minor typo - "count[i]" should be "count1[i]". Notice that, at the top of "main()", "count" is declared as an...