下面C++代码执行后的输出是( )。
float a;
a = 101.101;
a = 101;
printf("a+1={%.0f}",a+1);
102={102}
a+1={a+1}
a+1={102}
a先被赋值为浮点数,后被赋值为整数,执行将报错