Is combining ibuprofen and acetaminophen effective and safe for managing pain?

Is combining ibuprofen and acetaminophen effective and safe for managing pain?