OF
(Choose 1 answer)
Given the program:
#include <stdio.h>
#include <conio.h>
#include <string.h>
int main(){
char str[50];strcpy(str, "KLM");
for(int i=0;i<strlen(str);i++)
str[i] = str[i]-1;
printf("%s", str);
getch();
return 0;
}
What is printed?
A. KLM
B. Compile error
C. Runtime error
D. LMN
E. JKL
F. other
Exit 32