Thursday , August 13 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 …

One comment

  1. I intended to create you one very small note so as to say thanks the moment again about the pleasant guidelines you have documented above. It’s really strangely generous of you to deliver unhampered what some people could possibly have marketed for an e book to help with making some cash for themselves, and in particular given that you might have done it if you wanted. Those good tips also acted as a good way to know that most people have a similar fervor just like my very own to see much more regarding this issue. Certainly there are some more pleasant periods up front for those who examine your site.

Leave a Reply

Your email address will not be published.