![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
[主观题]
表达式0x13while(*(str+num)!=\0)num++;return(num);}main(){charstr[10],*p=str;gets(p);printf(“%d\n“,func(p));}如果从键盘上输入ABCDE回车,则输出结果为()
A、8
B、7
C、6
D、5
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)
A、8
B、7
C、6
D、5
第3题
A、缩排位置相同的if
B、在其之前未配对的if
C、在其之前未配对的最近的if
D、同一行上的if
第4题
A、fp=fopen(“file“,“r“);
B、fp=fopen(“file“,“w“);
C、fp=fopen(“file“,“r+“);
D、fp=fopen(“file“,“w+“);
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!