设a、b为long型变量,x、y为float型变量,ch为char类型变量且它们均已被赋值,则下列语句中正确的是
A、switch(x+y) {}
B、switch(ch+1) {}
C、switch x {}    
D、switch(a+b); 
{}