Here are a few suggestions...
try using fgets instead of getc.
use a counter to count and print the number of lines in the text.
Learn how to indent your code.
try to read more before...
Type: Posts; User: Tanu
Here are a few suggestions...
try using fgets instead of getc.
use a counter to count and print the number of lines in the text.
Learn how to indent your code.
try to read more before...
As you have said you are kinda sure about 2'nd problem i'd try to help you with other two...
first of all you can't define the function "selection sort" inside main function & you have not even...