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.

»Important Links:

Latest Jobs in PakistanGovt Jobs in PakistanPrivate Jobs in Pakistan
NTS JobsPPSC JobsFPSC Jobs
Teaching JobsNADRA JobsBank Jobs
English McqsGeneral Knowledge McqsPak Studies Mcqs
Current Affairs McqsCurrent Affairs Mcqs PDFCurrent Affairs of Pakistan
Books PDFNotes PDFIslamic Studies Mcqs

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!