Question
What is the use of keyword global?

Answer

eyword global is used to:(i) Specify the global variable(s) which will be used in the function even if their values are changed in the function.
(ii) To create global variable(s) in the function.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free