试题详情

下面程序的输出结果为(   ) #include using namespace std; unsigned func(unsigned num) { unsigned d=1,k; do { k=num%10; num/=10; }while(num); return (k); } int main( ) { unsigned n=26; cout

A6

B4

C2

D5