Tag Archives: Scope Rules

Local variables in C

Local variables are variables declared within a function or more specifically say within a block.

Block is a sequence of statements grouped together inside a pair of curly braces { and }. Since the first day of programming, you have been using blocks. For example - if...else block, loop block, function block etc.

Continue reading Local variables in C