int divide(int numerator, int denominator) { if (denominator == 0) return 0; return numerator / denominator; } int main() { return divide(42, 0); }