The correct answer is c. both a and b.
To be labeled deviant, a person typically needs to be detected committing an act that is considered deviant (a) and also be stigmatized or judged by society for that behavior (b). Both elements are often involved in the process of labeling someone as deviant.