请教个 interview question# JobHunting - 待字闺中
z*j
1 楼
typedef void (*FN)(int);
void f1(int);
void * f2(int);
FN abc = f1; //Line1
FN abc = f2; //Line2
FN abc = &f1; //Line3
FN abc = &f2; //Line4
Which of the above lines will compile
a. Line1
b. Line2
c. Line3
d. Line4
void f1(int);
void * f2(int);
FN abc = f1; //Line1
FN abc = f2; //Line2
FN abc = &f1; //Line3
FN abc = &f2; //Line4
Which of the above lines will compile
a. Line1
b. Line2
c. Line3
d. Line4