The correct answer is (B): Both assertion (a) and reason (r) are true, but reason (r) is not the correct explanation for assertion (a). Salmonellosis, a foodborne illness caused by Salmonella bacteria, can be contracted from food contaminated by these bacteria, which are naturally found in the intestines of humans, animals, and birds. The assertion accurately states that thorough cooking and prompt refrigeration or freezing of food are effective preventive measures against salmonellosis. However, the reason statement, while factually correct about the bacteria's habitat, fails to explain the mechanism by which cooking and refrigeration prevent the illness. Prevention relies on heat to eliminate bacteria and low temperatures to halt their proliferation, not on their natural environment.