Friday, February 11, 2011

Variables in C Programming Language

A variable is a named location in memory that is used to hold a value that can modified by a program.
The general form of a variable declaration is
Variable-type variable –name
By the declaration of variables, there are three type Variables;
1.       Loacal
2.       Formal
3.       Global

Local Variable:  If a variable declared inside a function called Local Variable. You may called it also Automatic Variable.

1.       It works in a function or a code block, if you exit form function the local variable destroyed.

0 comments em “Variables in C Programming Language”

Post a Comment

Give your valuable Comment...


Programming, Data Structures & Algorithms Copyright © 2011 -- Template created by JAK -- Powered by Blogger