单选题

下列程序执行后,串口监视器显示的相应内容为?(    )

String receData="12345";
Serial.print(receData.indexOf('2'));
A

12

B

23

C

1

D

2

赣ICP备20007335号-2