2079 12

CSC115 ยท 2079 ยท 5 marks

Write short notes on: a. Local, Global, and Static variables b. Conditional Operator

Write short notes on: a. Local, Global, and Static variables b. Conditional Operator [5]

C ProgrammingChapter 7: FunctionsLocal and Global Variable

--- Variables that are defined within the body of a function or a block are called local variables. Key characteristics: - Can be used only within the function or block in which they are declared - They are not accessible outside that function/block - The same variable name may be used in differe...