#include #include int main (){ int res; puts ("Trying to execute command DIR"); res = system ("dir"); if (res == -1) puts ("Error executing DIR"); else puts ("Command successfully executed"); return 0;}