问题描述:
麻烦请懂C++的朋友解释下这个程序
有C++程序如下:
#include
void main( )
{ int a(5),b(6),i(0),j(0);
Switch(a)
{case 5 :switch(6)
{case 5:i++;break;
case 6:j++;break;
}
case 6:i++;j++;break;
default:i++;j++;
}
cout
有C++程序如下:
#include
void main( )
{ int a(5),b(6),i(0),j(0);
Switch(a)
{case 5 :switch(6)
{case 5:i++;break;
case 6:j++;break;
}
case 6:i++;j++;break;
default:i++;j++;
}
cout
问题解答:
我来补答展开全文阅读