I have a .c file and I have only a Windows command prompt. I have to get the output of the program.
Can the program be compiled without the support of TC or TC3 environment? If so kindly help.
Assuming you have internet access there are sites such as http://codepad.org which allow you to compile and run small programs in various languages online. Supported languages include C, C++ and many others.
If you only have a ".c" file, then you don't have a program. You must compile the program first to make an executable, and then you must run the program to get its output.