Declarations and Initializations - Find Output of Program :: Discussion


6.What will be the output of the program?
A.10
B.20
C.Error
D.None of above
Answer:  Option  B
Explanation:

Whenever there is conflict between a local variable and global variable, the local variable gets priority.

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