answersLogoWhite

0

Variables are names given to the data. Data types are the kinds of data which the computer interacts with. In C there are five basic data types :

1)char (basically anything in ' '. Normally a single character)

2)int (all integers like -5 , 10 , -3201 etc)

3)float (any decimal value)

4)double (Higher decimal value)

5)void (nothing)

Consider the following statement

int var = 1;

The above statement means that you are declaring a variable var which is of data type int and giving the variable a value of 1.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is the basic difference between the different types of amino acids?

Side chains


What is the difference between class data type and basic type in c plus plus .How can someone know which one is class type and which one is basic type.?

Basic types (primitive data types) have no methods associated with them.


Coefficient of elasticity how many types?

As many types as variables are used to calculate the elasticity. Elasticity is simply a relationship between rates of change of variables in equations.


What is the basic difference among the three types of multivibrators?

ur gross!


What is the basic difference among the three types of multivibrator?

ur gross!


2 types of variables?

Qualitative and quanitative are two types of variables.


What are the two types of variables?

The two types of variables are the CONSTANT and CONTROL.


Define hypothesis and its various types?

A hypothesis is a proposed explanation or prediction that is based on limited evidence and subject to further investigation. It serves as the starting point for scientific research and helps guide the design of experiments or studies. There are two main types of hypotheses: null and alternative. A null hypothesis states that there is no relationship or difference between variables, while an alternative hypothesis asserts that there is a relationship or difference between variables.


Explain the difference betwwen the two types of feeding?

explain the difference between the two types of feeding?


What is the difference between relational tuple calculus and domain calculus?

Relational tuple calculus has its variables range over tuples, where domain relational calculus ranges its variables over the field values, or domain elements. Both types of calculus are subsets of first order logic.


Independent and dependent are types of what?

Independent and dependent are types of variables. These variables are used mostly in science and math. When using independent variables you can control them dependent variables you cannot.


Variables as object in java?

There are two main categories of variables in Java. They are primitive and non primitive. Primitive data types are the basic data types like int, float, char etc. These are not objects. The other non primitive data types are all types of Java Objects. Example: String, ArrayList etc.