a="22" ;
b=2010 ;
x=b||a;
y=a||b;
what is the lwngth of x and y (answer is 14) and why? Thanks a lot!
a****l 发帖数: 245
2
b has been automatically converted into characters by using the default
format BEST12. during the concatenation step.
So, the length for the new created variable x and y should be 14 (2+12).
【在 a**n 的大作中提到】 : a="22" ; : b=2010 ; : x=b||a; : y=a||b; : what is the lwngth of x and y (answer is 14) and why? Thanks a lot!