What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

C Programming Language >   Function in C Language >   About Java Tutorial  

Short Question

1655


Answer:

The most probable reason behind this error is that the header file for that function was not indicated at the top of the program. Header files contain the definition and prototype for functions and commands used in a C program. In the case of "tolower()", the code "#include " must be present at the beginning of the program.


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.