c sleep function windows code example Example: use sleep in c in windows #include <Windows.h> int main() { Sleep(500); }