Object Oriented Programming Using C++ - Section 8 :: Discussion


45.The statement int n[4] = {11, -13, 17, 105};
A.assigns the value -13 to [2]
B.assigns the value 17 to n[2]
C.is wrong; it gives an error message
D.assigns the value 18 to n[2]
Answer:  Option  B
Explanation:

Tutorial Link:
Published by:Michael Daani

Comments are not available

Post your comments here:

Optional

Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers