请问c++中cin>>str1+1;是什么意思???

2025-02-26 19:48:26
推荐回答(3个)
回答1:

>> 的优先级要比+低,应该是先执行+1,因此是往str1+1的地址输入数据

回答2:

str1这个应该是个地址吧,str1+1,表示输入地址再偏移1

回答3:

1