【简答题】阅读下面程序: include <iostream> using namespace std; int fun( int a, int b) { int c; c = a * b; return c; } int main ( ) { int a = 3, b = 5, c = 4, x = O; x = fun( fun( a, b ), c ); cout<<x<<end1; return 0...
【单选题】● 给定C 语言程序: int foo( int x, int y, int d) { if( x != 0 ) { if ( y == 0 ) d = d / x else d = d / (x * y ) } else { if( y == 0 ) d = 0 else d = d / y } return d } 当用路径覆盖法进行测试时,至少需要设计 (31) 个测试用例。 (31)