how to use strupr in c??

how to use strupr in c??

Hello,

I think this suffices:

#include <string.h>
#include <stdlib.h>
#include <stdio.h>

int main()
{
	char s1[] = "this is a test";
	printf("%s\n", s1);
	printf("%s\n", strupr(s1));
	return 0;
}

However, I believe that this function is not part of the ANSI C standard and its use is therefore discouraged…

Best regards,

Bruno