class CLASS{
double x;
friend void f()
{
cout<<x<<endl; // ①
}
public:
CLASS(double n):x(n){} // ②
};
int main()
{
CLASS t(6.8),*p=&t;
t.f(); // ③
p->f(); // ④
return 0;
}
则在注释部分标注编号的行中,编译时没有语法错误的是( )。