how to run c program in cmd windows 10 code example
Example: 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");
}
//C library statement
#include <stdlib.h>
//Driver program
int main(void)
{
//The C command to run a command in cmd
system("Your command here");
}