An API is an interface, and an interface is something that allows two things to communicate. All functionality you see in an operating system is pre-coded, sometimes the manufacturer may allow third parties to use this functionality by exposing an interface (say API). In the case of the Windows API, it is rather a grouping of several interfaces that share the same name.
An API is an interface, and an interface is something that allows two things to communicate. All functionality you see in an operating system is pre-coded, sometimes the manufacturer may allow third parties to use this functionality by exposing an interface (say API). In the case of the Windows API, it is rather a grouping of several interfaces that share the same name.