The major loss of energy in long pipes is due to_______________?

The major loss of energy in long pipes is due to_______________?

A. sudden enlargement
B. sudden contraction
C. gradual contraction or enlargement
D. friction