Local Variable 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.

Source Code

//Local Variable
int add()
    int a,b;
int main()
    for(int i=0;i<5;i++)
    return 0;
To download raw file Click Here

List of Programs

Sample Programs

Switch Case in C

Conditional Operators in C

Goto Statement in C

While Loop Example Programs

Looping Statements in C

For Loop Example Programs

Array Examples in C

One Dimensional Array

Two Dimensional Array in C

String Example Programs in C

Functions Example Programs in C

Learn All in Tamil © Designed & Developed By Tutor Joes