Look at the statement given below int & a; and tell what will happen ?

(A) Compiler will compile successfully
(B) Compiler will show a warning to you
(C) Null value will be assigned to a
(D) Compiler will generate an error: ‘a’ declared as reference but not initialized

»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 !!