I compiled a small test program in C, but when I run it, I get no output!

You probably compiled the program into a binary named test, didn’t you? Linux has a program called test, which tests if a certain condition is true, it never produces any output on the screen. Instead of just typing test, try: ./test

Comments

comments

Powered by Facebook Comments

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.