//Header file: #include <stdlib.h> //Declaration: int system(const char *str); //Return: zero on success or nonzero on error. #include <stdlib.h> int main(void) { printf("%s",system("dir")); }