Hillary Clinton denounced racism during a visit to the flashpoint city of Charlotte where the fatal police shooting of a black man on September 20 triggered days of protest.