The char data types holds a single ASCII (or unicode) value, so it holds any character, for example: '2', 'r', or '~'. The problem is it only holds one character, not a whole string. That is why the string was developed; it holds a whole bunch of characters in a row. But strings cant be compared with < and >, so for alphabetical ordering, use char.
Describe the basic data types in C Describe the basic data types in C
data types supported by "C" are int , float , char , long , double , uint
eight primitive data types are: -boolean -char -byte -short -int -long -double -float
Pick any three: int, char, long, void, char *, void *
The primitive data types in C include:[signed|unsigned] char[signed|unsigned] short[signed|unsigned] int[signed|unsigned] long[signed|unsigned] long longfloatdoublelong doubleEnumerations (enum) and arrays may also be considered to be primitive types.
int, but can be assigned to a short, long or char as well
Describe the basic data types in C Describe the basic data types in C
data types supported by "C" are int , float , char , long , double , uint
eight primitive data types are: -boolean -char -byte -short -int -long -double -float
Pick any three: int, char, long, void, char *, void *
primary datatypes means the data types which are provided by developer of language himself like int,float,double,char are the primary data types in c language where as the String,array are nothing but the derived data types. for Ex.we derived the String data type from char datatype using array system.
The primitive data types in C include:[signed|unsigned] char[signed|unsigned] short[signed|unsigned] int[signed|unsigned] long[signed|unsigned] long longfloatdoublelong doubleEnumerations (enum) and arrays may also be considered to be primitive types.
No, it's not. But it can be based on primitive data types (int, char, long, double and so on).
Assuming by "fundamental" you mean the primitive data types: boolean, byte, char, short, int, long, float, and double
Types of data types :Primitive data typeUser-defined data typeDerived Data typePrimitive data type:int,char,float,double,voidUser-Defined data type:class,enumeration,structure,unionDerived Data type:Arrays,Functions,Pointers.
Pascal has 4 primitive data types: integer; boolean; char and; real. These 4 provide the basic building blocks for more complex types.
a,A,z,Z