开放大学在线学习搜题
当前位置:首页 > 学习题库 > C程序设计语言

问题

int i=20; switch(i/10) {     case 2:printf("A");     case 1:printf("B"); } 的输出结果为A.

发布时间:2025-09-08   作者:江苏开放大学   浏览:0

int i=20;

switch(i/10)

{

    case 2:printf("A");

    case 1:printf("B");

}

的输出结果为A.