在下面的条件语句中(其中s1和s2代表C++语言的语句),只有一个在功能上与其它三个语句不等价,它是( )
if(a)s1;else s2;
f(a==0)s2;else s1;
if(a!=0)s1;else s2:
if(a==0)s1;else s2;