The operator function will be implemented as __, if obj1 drive the – operator whereas obj2 is passed as arguments to – operator in the statement given below. obj3 = obj1 – obj2;?

(A) Member function
(B) Non-member function
(C) Friend function
(D) None of the given options

Which of the following statement is best regarding declaration of friend function?

(A) Friend function must be declared after public keyword.
(B) Friend function must be declared after private keyword.
(C) Friend function must be declared at the top within class definition.
(D) It can be declared anywhere in class as these are not affected by the public and private keywords.

error: Content is protected !!