answersLogoWhite

0

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.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is the types of data?

int, but can be assigned to a short, long or char as well


Describe the four basic data types in c?

Describe the basic data types in C Describe the basic data types in C


What are the different data types suppourted by c.give example?

data types supported by "C" are int , float , char , long , double , uint


Innumerate the different types of data type?

eight primitive data types are: -boolean -char -byte -short -int -long -double -float


What are the three most common data types used in c?

Pick any three: int, char, long, void, char *, void *


What is primare datatype in c?

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.


Types of data in turbo C programming?

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.


Is array a primitive data structure?

No, it's not. But it can be based on primitive data types (int, char, long, double and so on).


What are fundamental data types in java?

Assuming by "fundamental" you mean the primitive data types: boolean, byte, char, short, int, long, float, and double


What are the different types of data?

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.


What are enumerated data types in pascal?

Pascal has 4 primitive data types: integer; boolean; char and; real. These 4 provide the basic building blocks for more complex types.


Which sequence of char data types is listed from lowest to highest?

a,A,z,Z