in Unix: the datatype is "Date"
in C++: the datatype is "char"
On average, in the entire world about twenty eight thousand people will have the same birthday as one another. In a room full of people, there should be two people who have the same birthday.
The average man has just one birthday per year - he/she celebrates it yearly!
1 in 20,000! I know 4 people with my same birthday, 3 of them not being related...
A person shares their birthday with at least nine million different people around the world.
It is an ordinal value. ----- Here's one way to see this. Suppose you start take birthday 1 January 2000 to be 1, birthday 2 January 2000 to be 2, ... , birthday 31 January 2000 to be 31, then birthday 1 February 2000 to be 32, and so on, number all of the birthdays until today, you will have a number of about 5104. If you need birthdays before 1 January 2000 you could use negative numbers. Clearly these numbers are ordered and form an ordinal scale.
in Unix: the datatype is "Date" in C++: the datatype is "char"
alphanumeric.
For creating a table we need to mention the field names and data types . Numbers is a datatype in database for storing integers in a field .
sizeof(datatype)
In different languages we have different datatypes . Like in c++ we have int for integers , string for strings . In database we have datatypes, number for storing integer and varchar2 for storing string or characters.Like in languages like c we have datatypes such as char for characters , int for integers etc . In database we have datatype to denote the type of the field example numbers for storing integer, Varchar for characters.
It is used to convert the value of one datatype into a value of another datatype. Example- Integer.parseInt(in.readLine); It converts given value to Integer datatype.
Oh, dude, you wanna store numbers like 1.99 or 2.75? Well, you'd probably wanna use a float or a double data type in programming. They can handle those decimals like a champ. But hey, if you wanna get real fancy, you could even use a decimal data type for precise calculations. Just don't ask me to explain the difference, man.
pointer
ordanry variable store one value at a time. arrays are used for storing more than one value at a time in a single variable name ordanry variable doesnt have subscript. array must have subscript syntax for ord. variable Datatype v1,v2...... syntax for array variable Datatype v1[n1],v2[n2].....
stack abstract datatype
double
datatype function_name() { }