1.
C
Smoke Alarms should face out in this position:
On a sloping or peaked ceiling, install a smoke alarm
within 24 inches of the peak (measured vertically). If this
height is less than 24 inches the ceiling is regarded as
being flat.
Placement
Smoke Alarm (front)
Wall behind alarm