Wednesday , December 2 2020
Home / C / C #03 – Variables in C Lanuage

C #03 – Variables in C Lanuage



Variables/Identifiers in C Language

A variable is nothing but a name given to a storage area that our programs can manipulate.

The name of a variable can be composed of letters, digits, and the underscore character. It must begin with either a letter or an underscore. Upper and lowercase letters are distinct because C is case-sensitive. Based on the basic types explained in previous chapter, there will be the following basic variable types:

Type Description
char Typically a single octet(one byte). This is an integer type.
int The most natural size of integer for the machine.
float A single-precision floating point value.
double A double-precision floating point value.
void Represents the absence of type.

About Faheem

An adaptable and responsible Software Engineer, who enjoys working with computers and the opportunity to learn new skills and work with new technologies is particularly attractive to me.

Check Also

C #08 – Loops and For Loop in C Language

  Loop in C Language A loop statement allows us to execute a statement or …

Leave a Reply

Your email address will not be published.