PRF192_-_REB5_-_FA_2023_1327.webp
Naoya92

PRF192_-_REB5_-_FA_2023_1327.webp

  • Media owner Naoya92
  • Ngày thêm
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

Thông tin

Category
PRF192
Thêm bởi
Naoya92
Ngày thêm
Lượt xem
3,426
Lượt bình luận
21
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRF192_-_REB5_-_FA_2023_1327.webp
File size
49 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom