如果我最后将`r`的值更改为`false`,为什么方法返回`true`?

时间:2015-05-15 17:48:44

标签: java

如果我最终将SELECT av_sig_ver ,CONVERT(SUBSTRING_INDEX(av_sig_ver,'.',-2),UNSIGNED INTEGER) AS 'one_av_sig_ver' ,CONVERT(SUBSTRING_INDEX(av_sig_ver,'.',-3),UNSIGNED INTEGER) AS 'two_av_sig_ver' ,COUNT(NULLIF(TRIM(av_sig_ver), '')) AS 'total' FROM `test`.`test_fep_signatures` GROUP by av_sig_ver ORDER BY two_av_sig_ver DESC, one_av_sig_ver DESC; 的值更改为int main(){ int month1, day1, year1, day2, month2 = 0, year2 = 0, earliestDay = 32, earliestMonth = 13 , earliestYear=3000; printf("Enter a date (mm/dd/yy): "); scanf("%d/%d/%d", &month1, &day1, &year1); while (1){ printf("Enter a date (mm/dd/yy): "); scanf("%d/%d/%d", &month2, &day2, &year2); if((day1 ==0 && month1 && year1 ==0) || (day2 == 0 && month2== 0 && year2 ==0)) break; if ( day1 < day2) earliestDay = day1; if (month1 < month2) earliestMonth = month1; if (year1 <= year2) earliestYear = year1; } printf("%d/%d/%d is the earliest date!\n", earliestMonth, earliestDay, earliestYear); } ,为什么方法会返回true

r

0 个答案:

没有答案