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


19.The statement double val[15]={44.123456};
A.assigns the value 44.123456 to all members of the array val
B.assigns the value 44.123456 to val[0] and 0 to the rest of the members
C.gives an error message
D.assigns the value 44.12345 to val[1] and val[5]
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