Visual Studio Code – set argoments while debugging in C
This is my simple program #include <stdio.h> int main(int argc, char *argv[]){ printf("%dn", argc); for(int i=1; i<argc; i++) printf("%sn", argv[i]); return 0; } If I compile with terminal and run gcc -o test test.c ./test foo bar I get 3…