undefined reference

When i executed a program in C,i got this error:
undefined reference to `strupr’ collect2: ld returned 1 exit status.
why is this error ?
is strupr() not available in string.h library ?
If so, what are the other string functions that are not available in the string.h library ?

1 Like

The functions available in the string.h library are given here. Functions like strupr, strlwr, strrev, which are available in ANSI C (Turbo C/C++) are not available in standard C (gcc).

1 Like

Thank you so much for the information.:slight_smile:

What should i do in such case?