How to know type of a linker whether it's a static/dynamic in c plus plus : How can we know that which type of linker(static/dynamic) our system is using?

Is it decided on type of library(static/dynamic) we have used or is there any other thing?