执行下列C++代码,计算s[0].d + s[1].i,结果是多少?
struct S { double d; int i; }; S s[2] = {{1.5, 1}, {2.5, 2}};
3.5
4.5
3
4