If the given problem statement allows you to predict the results into a specific class from a specific set of classes, then it can be said that the problem is a classification problem.
In option A, based on the writing style, the data point would be tagged as a specific class - Either "Male", "Female" or any other class, if present.
In option B, price is a numerical quantity that is being predicted. Hence, this would be a regression problem, rather than a classification problem.
In option C, there are 2 classes for which the predictions will be made. The classes can be, for instance, "will_rain" and "will_not_rain"
In option D, the prediction is a numerical quantity. Therefore, this will be a regression problem