In this case, you have to write the complete function that works the same as an inbuilt function. Unfortunately, you cannot use strrev function here. If you are running this program on GCC compiler, it will throw error message as. Functions strrev() including some other string function such as like strupr, strlwr, strrev, which are only available in ANSI C (Turbo C/C++) and are not available in standard C-GCC compiler. The functions strrev() available in the string.h library. Error message “Undefined reference to strrev”: C:\Users\ANIRUD~1\AppData\Local\Temp\ccjLOzro.o(.text+0xbb).c: undefined reference to strrev You may also be surprised- your code is working fine on one of the systems while it is not working on other systems. The function ‘strrev’ can be other string function. You may come across this error “undefined reference to strrev” while coding in C.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |