API and system calls
API is an acronym that stands for âapplication programming interface,â and it allows apps to send information between each other. While there are numerous protocols and technologies involved, the underlying purpose of APIs is always the same: to let one piece of software communicate with another. ~googled In computing, a system call (commonly abbreviated to syscall) is the programmatic way in which a computer program requests a service from the kernel of the operating system on which it is executed. System calls provide an essential interface between a process and the operating system. ~ wikipedia My question is : For me system call and API are looking two different modules. Then why and hoe the question arises that what is the difference between api and system call and how can one answer it perfectly. Please some one give me a real life example for API except the Flight Scheduleing and Hotel Waiter, Im not getting them.