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


23.An advantage of using local variables is that _____
A.they are known to all functions in the file
B.names used in one function do not affect data stored in variables with the same names in other functions
C.values given to local variables are retained when those parameters go out of scope
D.the program does not become "crowded" with too many variable names
Answer:  Option  D
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