2081 12

CSC115 ยท 2081 ยท 5 marks

Write short notes on: a) Global variable b) Debugging Debugging [2.5+2.5]

Write short notes on: a) Global variable b) Debugging Debugging [2.5+2.5]

C ProgrammingChapter 7: FunctionsLocal and Global Variable

--- Definition: Global variables are variables that are defined outside any function in a C program. Since they are declared outside all functions, they are accessible and can be modified by all functions in the program. Key Characteristics: - Declared outside any function (usually at the top of ...