题目
题目
单项选择题

Question at position 7  What is the value of the variable Flag at the end of the following lines of code: Flag = 1Flag = 0Code will not run. Error!Flag is the ASCII equivalent of the word 'Toney'

选项
A.Flag = 1
B.Flag = 0
C.Code will not run. Error!
D.Flag is the ASCII equivalent of the word 'Toney'
题目图片
查看解析

查看解析

标准答案
Please login to view
思路分析
Question at position 7 asks about the value of Flag after executing the given lines of code. Option 1: 'Flag = 1' would be true only if the condition in the if statement evaluated to true, which would set Flag to 1. Here, the comparison uses strcmp between L and 'tone......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!