answersLogoWhite

0

data type refers to the kind of value that is held by a particular variable. For ex: an int variable contains integer value, a string holds a alpha numeric value etc.

variable refers to the name of a value using which we can refer to this value.

Ex:

public int age = 28;

here int is the data type and age is the variable.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the best datatype for storing your birthday?

in Unix: the datatype is "Date" in C++: the datatype is "char"


What is the best datatype for storing birthdays?

in Unix: the datatype is "Date" in C++: the datatype is "char"


What is the Difference between override and new keyword in C?

An override is the specialisation of a virtual function. The new keyword instantiates an instance of an object in dynamic memory and returns a reference to that object (or null if the object could be instantiated). Both are used in C++, but not C.


What is the difference between throw and throws in net?

"throw" is the keyword to raise an exception. "throws" is a Java keyword that indicates a specific method can potentially raise a named exception. There is no analog in VB.Net or C#. Perhaps there is a "throws" keyword in J#?


What is the datatype of 3 in c?

integer literal


Is their any scalar datatype in c language?

Float


Is there a datatype string in c plus plus?

Yes.


C program to implement tower of hanoi using array implementation of stack abstract datatype?

stack abstract datatype


How many bytes are there for a plus b plus c?

It completely depends the datatype that you have assigned for the variables 'a' , 'b' , and 'c'. Check the compiler that you are using for the size of the datatype in bytes. Add them and thus you will get the answer.


Is in is used as a keyword in C language?

Neither "in" nor "is" is a keyword in C.


What is the datatype of FILE in C?

FILE is a data-type (a struct, to be precise).


Is the keyword "c" included in the question?

Yes, the keyword "c" is included in the question.