指令“AND AX,STR1 AND STR2”中,S9R1和STR2是两个已赋值的 发布时间:2018-04-14 10:13 │ 来源:www.tikuol.com 题型:填空题 问题: 指令“AND AX,STR1 AND STR2”中,S9R1和STR2是两个已赋值的变量,两个AND的区别是第一个AND是逻辑与指令,而第二个AND是逻辑与 ______。
题型:填空题 若输入I have a test.#,则以下程序的运行结果为 【10】 。#include<stdio.h>main() FILE*fp; char str[100],filename[10]; int i=0; if ((fp=fopen("test","w"))==NULL)printf("can not open the file!\n");exit(0); getchar(); gets(str); while(str[i]!=’#’)if (str[i]>=’a’ && str[i]<=’z’)str[i]=str[i]-32;fputc(str[i],fp);i++; fclose(fp); fp=fopen("test","r"); fgets(str,strlen(str)+1,fp); printf("%s\n",str); fclose(fp); 查看答案