if i have a program named prog.c and i have already converted it into an executable using gcc
how do i test the prog.o in linux? what is the command for executing a test file where i have my inputs? so that at ./prog.o what extar command needs to be added with a test.txt fiel for inputs?
so if i have to input some numbers and it is supposed to test those inputs and exit on fail?