Luxoft interview question

Difference between static and dynamic libraries? Pros/cons