I want the the letter "i" to show as uppercase. I have tried to pass the "i" to another char, it is still not working.
#include<stdio.h>
#include<string.h>
int main()
{
char str[6] = "modify";
char maj = str[4];
printf("%c\n", strupr (maj));
}