(Choose 1 answer)
What will be the output of the following program?
#include<stdio.h>
#include<string.h>
#include<ctype.h>
void main()
{
char str[] = "xyzt";
int len = strlen(str);
for(int i=0;i < len; i++)
{
}
}
if(i%2 == 1)
str[i] = toupper(str[i]);
printf("%s", str);
return 0;
A. xyzt
B. xYzT
C. XYZT
D. XyZt
Exit 9