How to enter a command line in repl
Hi, so I just want to know how to input a command line in repl. I'm aware that in C you simply type the program name followed by the arguments you want to give main. So how do I open the command line to begin with and what input should i give to run it.
This is the program I want to run:
// Taking argument as command line
int main(int argc, char *argv)
int a, b, c;
I'm not sure what you mean. If you want to see your program run in the command line, just hit run and wait. If you want to get user input though, check out this article: https://www.geeksforgeeks.org/basic-input-and-output-in-c/