Answers for "how to run command in c program"

C
3

run a command in cmd with c

//C library statement
#include <stdlib.h>

//Driver program
int main(void)
{
	//The C command to run a command in cmd
	system("Your command here");
}
Posted by: Guest on December-15-2020

Code answers related to "how to run command in c program"

Code answers related to "C"

Browse Popular Code Answers by Language