helpme!! friend function

Guys I am doing my assignment in which I am supposed to use friend function... One of the parameters for the friend function has to be a class name... so is it possible that I provide the parameters(return type and class name) at run time...??
Thank you
No you can not. The compiler shall know the function declaration at compile time.
first calling the functions and declear the function type
and return value
Ok thank you guys!!!
Topic archived. No new replies allowed.