# include # include class demo { int fx; public : void input(int x) { fx=x; } friend int findsqr(demo); }; int findsqr(demo d) { return d.fx*d.fx; } void main() { demo f; f.input(30); cout<<"square of number is ="<