In this case, C can be chosen based on the desired binomial proportion confidence interval for the sample value.
C is chosen based on the desired confidence interval for the sample's binomial proportion. This means that the value of C will be determined by the desired level of certainty in estimating the true proportion.