explain about the variables in c languagethe


Explain about the Variables in c language?

The Variable is an identifier that is used to represent some specified kind of information within a designated portion of the program. It is a named location in memory that can used to hold a value that can be modified by the program. All the variables should be declared before they can be used. The Variables can be declared at the start of any block of code but mainly are found at the start of each function.

The universal form of a declaration is

Data - type variable - list;

The Data type must be a valid data type and variable list may consist of one or more identifier names separated by commas. At this point there are some declarations

int tax, count;
float tax_rate, fahr_temp, ave;
double sine,cosine;

The Variable can be declared in three places in the definition of function parameters, inside functions, and outside of all functions. These positions are correspond to formal parameters, local variables and global variables respectively.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: explain about the variables in c languagethe
Reference No:- TGS0304630

Expected delivery within 24 Hours