单选题
已知有声明"long x,y;"且x中整数的十进制表示有n位数字(4
A、
y=x/(10*(n-1))
B、
y=x%(10*(n-1))
C、
y=x%(long)pow(10,n-1)
D、
y=x%(10^(n-1))
【正确答案】
C
【答案解析】
提交答案
关闭