在C语言中,有函数 leapyear 定义如下: intleapyear(int y) { int z=0; if (y % 4 ==0 && y % 100 !=0 || y % 400==0) z=1; return z } 有int型变量d,则执行函数调用语句 d=leapyear(2010) ,则变量 d的取值是()。
A.
4
B.
1
C.
0
D.
400
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】W e will make a brief study on : 1.T he significant events of W orld W ar Two and A merica's entry into it ; 2. The important historical figure of A merican pres id ent ---- Thomas Woodrow Wilson ( 托马...
【单选题】M: You don’t have much experience in customer service. W: Well, I used to work part-time in a company, I answered phone calls, received visitors and wrote e-mails to customers Which one is not the wom...