The correct option is C both (A) and (B)
Chi-square test is used to determine whether there is a significant association between two variables and it also tests goodness of fit as it measures how well the observed distribution of data fits with the distribution that is expected.