Declarations and Initializations - Find Output of Program :: Discussion


9.What is the output of the program?
A.2, 3, 3
B.3, 2, 2
C.0, 0, 0
D.Garbage Value
Answer:  Option  C
Explanation:

When an automatic array is partially initialized, the remaining elements are initialized to 0.

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