单选题
有以下程序:
#include <stdio.h>
main(
)
{
int password;
char *p, old_str[10] = "wind";
scanf("%d", &password);
p =
old_str;
while (* p)
{
printf("#%c",* p +
password);
p++;
}
printf("/n");
}
程序运行时,从键盘输入2<回车>,输出结果是______。
- A.#y#k#p#f
- B.#wi#nd#
- C.xj#oe
- D.#2222#