C Programming Lesson - Data Types in C Language

Source

A programming language helps us process certain kinds of data by providing useful output. The task of data processing is accomplished by executing a series of commands called a program. A program usually contains different types of data, such as integer, float, character etc. A program stores the values being used along with a library function and the user defined function (UDF) to process that stored data. C language is rich in data types and library functions.

C data types can be broadly classified as :

  1. Primary data types
  2. Secondary data types

Data Types in C

Primary Data Types in C Language

Primary data types include the following:

  • Integer
  • Float
  • Character
  • Void

Integer Data Type

  • Integers are whole numbers with a range of values, the range limits being machine dependent.
  • Denoted by the keyword int.
  • Generally an integer occupies 2 bytes memory space and its value range is limited to -32768 to +32767 (that is, -215 to +215-1).
  • A signed integer uses one bit for storing the sign and 15 bits for the number.

To control the range of numbers and storage space, C has three classes of integer storage:

  1. short int
  2. int
  3. long int

A short int requires half the amount of storage than normal integer. The long integers are used to declare a longer range of values and it occupies 4 bytes of storage space.

All three data types have signed and unsigned forms.

  • Unlike signed integers, unsigned integers are always positive and use all the bits for the magnitude of the number. Therefore the range of an unsigned integer will be from 0 to 65535.

Syntax: int <variable name>; like
int num1;
short int num2;
long int num3;

Example: 5, 6, 100, 2500.

Integer Data Type Memory Allocation

Primary Data Types in C: Float

  • The float data type is used to store fractional numbers (real numbers) within 6 digits of precision.
  • Floating point numbers are denoted by the keyword float.
  • When the accuracy of the floating point number is insufficient, we can use the specifier "double" to define the number. “Double” is the same as “float” but has double the precision and takes up twice as much memory space (8 bytes) as float.
  • For even more precision we can use “long double” which occupies 10 bytes of memory space.


Syntax: float <variable name>;

like:
float num1;
double num2;
long double num3;

Example: 9.125, 3.1254.

Floating Point Data Type Memory Allocation

Memory allocation of float data in C.
Memory allocation of float data in C.

Primary Data Types in C: Character

  • The character type variable can hold a single character.
  • "Char," like "int," may be singed or unsigned. Both signed and unsigned occupy 1 byte each but have different ranges. Unsigned characters have values between 0 and 255; signed characters have values from –128 to 127.
  • Denoted by char.


Syntax: char <variable name>;

like:
char ch = ‘a’;

Example: a, b, g, S, j.

Primary Data Types in C: Void

  • The “void” data type returns no data; it is not a variable like the other types. It may be used with functions that need to be run without returning any values.
  • For example, we can declare “main()” as a void type because it does not return any value.

User-Defined Type Declaration in C Language

C language supports a feature where the user can define the identifier that characterizes an existing data type. This user-defined data type identifier can later be used to declare variables. In short, its purpose is to redefine the name of an existing data type.

Syntax: typedef <type> <identifier>;

Example: typedef int number;

Now we can use number in lieu of int to declare integer variable. For example: if we enter int x1 or number x1 both statements declare an integer variable. We have just changed the default keyword int to declare integer variable as number.

Size and Range of Data Types in C Language

This chart shows you how much space each data type like int, char, float occupies in memory, along with its data range and the keyword used by the C programmer.
This chart shows you how much space each data type like int, char, float occupies in memory, along with its data range and the keyword used by the C programmer.

Secondary Data Types in C Language

  • Arrays: collections of data of a similar type.
  • Pointers: a way to refer to information by referring to the address where the information is kept.
  • Structures: a way of associating data of different types.
  • Unions: a way of allowing the same data to be read as data of different types.

More by this Author


Comments 268 comments

sreeemay profile image

sreeemay 7 years ago from hyderabad

ur tought is so good try to write some other programms and refference books


nicomp profile image

nicomp 7 years ago from Ohio, USA

An enum is an integer type.


fahad 7 years ago

what is boolean in data type


rajkishor09 profile image

rajkishor09 7 years ago from Bangalore, Karnataka, INDIA Author

blooean is also a data type which can hold value like true or false (0 or 1). But boolean is not supported in C, boolean is supported in languages like C#, PHP, etc.


muniba 7 years ago

well this site is really useful n had helped me a lot in solving my confusions n doubts


pappu 7 years ago

love u


Saurabh 6 years ago

Dear Raj, You have introdeced educational topic in hub pages. All the Best Carry on.


Raj 6 years ago

good One!


K.S.KHAN 6 years ago

ITS HELPING ME IN MY ASSIGNMENT,I HOPE IT WORKS TOO.....


Zulekha Sarfaraz 6 years ago

Well, it sure is useful


ankur gupta 6 years ago

nice one


josh 6 years ago

Its very useful for quick reference also............. Great work


suman 6 years ago

what is c progamming


rani  6 years ago

what is c


sushiltl profile image

sushiltl 6 years ago from MANCHESTER

thats really gud hub for those who are in learning stage of c


soumya 6 years ago

i love u c


tayyab 6 years ago

i like programming


swapnali 6 years ago

is the value & reference is the basic data types of C???????


save my system profile image

save my system 6 years ago from United Kingdom - London

C is the basic programming language. If You are comfortable with C, then only you can able to learn more advance programming skills. I found above mention article on C very basic, but more important from the beginners point of view. Thanks for sharing it. This article surely reduces unnecessary fear of the computer language.


suji 6 years ago

HI this is nice one.but i didn't know "is structure is userdefined datatype or not?"please reply to this


naheed 6 years ago

c language:its veeeeeeeeeeeeeeery dificult.


mustafa 6 years ago

thanks


Tahir Ali 6 years ago

Dear

In this web i get good knowledge but text size little bit problem so plz text size should be large.


jas 6 years ago

Category Type Description Example

Reference object The ultimate base type of all other types object o = new Stack();

Reference string String type; a string is a sequence of Unicode characters string s = “Hello”;

value – int sbtype 8-bit signed integral type sbyte val = 12;

value – int short 16-bit signed integral type sgort val = 12;

value – int int 32-bit signed integral type int val = 12;

value – int long 64-bit signed integral type long val1 = 12;

long val2 = 34L;

value – int byte 8-bit unsigned integral type byte val1 = 12;

byte val2 = 34U;

value – int ushort 16-bit unsigned integral type ushort val1 = 12;

ushort val2 = 34U;

value – int uint 32-bit unsigned integral type uint val1 = 12;

uint val2 = 34U;

value – int ulong 64-bit unsigned integral type ulong val1 = 12;

ulong val2 = 34U;

ulong val3 = 56L;

ulong val4 = 78UL;

value – float float Single-precision floating point type float value = 1.23F;

value – float double Double-precision floating point type double val1 = 1.23

double val2 = 4.56D;

value – bool bool Boolean type; a bool value is either true or false bool value = true;

value – chat char Character type; a char value is a Unicode character char value = ‘h’;

value – decimal decimal Precise decimal type with 28 significant digits decimal value = 1.23M;


anjali 6 years ago

I feel ,like it it's importand from the biginners


prathibha 6 years ago

thank you


RAJ 6 years ago

if want to increase text size just press "ctrl+" in any browser


rima 6 years ago

i want all the knowledege of the c i donnt knw anything


muzammil3 6 years ago

If any one have any good material regarding c & c++,plz send me at muzammil3@gmail.com


Raghava 6 years ago

I like programming but it confusing to me.


Mitali 6 years ago

Thanx dear raj..... i dont know wt is data type..... thanx 4 the information.............

again thanx..........


mitali 6 years ago

hey raj your integer value is wrong.......

it is -32768 to +32767.......


nidhi 6 years ago

it's good but so boring...


hitender 6 years ago

hello can i know about the data type in c


bansal 6 years ago

check the range of floats again


Siva 6 years ago

Could you explain clearly why sizeof(void) returns 1?


Dennis 6 years ago

I wanted a quick overview of the difference between primary and secondary data types and your diagrams have done just that. Thanks!


Immanuel 6 years ago

This is the first time iam using it....it may be helpful...to me....hope that..it may also be useful..for my further..computer assignments...


srinivas 5 years ago

sir,

i donot understand char is 1 byte but the range is -127to 128

it occupies memory only 8 bit but the range of character are 128. please explain this


anita priyanka 5 years ago

bakwasssssssssss


sonia 5 years ago

so boringgggggggggggggggg


ashraf 5 years ago

thank you for this.it is very useful & i expect more so pls give more information with simple programs


fayazali 5 years ago

what is getch(); why we use it


little 5 years ago

thank you for this.it is very useful & i expect more so pls give more information with simple programs


5 years ago

hey what is recursion??


REEAk 5 years ago

i lyk c programming


venu 5 years ago

short int hold only 1 byte of storage


khan 5 years ago

great work


UMAIR KHAN 5 years ago

That site is much helpful for my engineering work.i like it............


hidayat shigri 5 years ago

nice dear i feel good ,,,,,,,,,,and find useful answers


rajiv 5 years ago

k dear..................................... not so bad................................


shahbaaz khan 5 years ago

it is good for baisc knoladge.


kiran 5 years ago

its amazing


karthik 5 years ago

Its vry gd 4 my studies


gixmo wixmo 5 years ago

i'm startin to lyk programming w e help of websites lyk this one even e sky aint e limit.thank u.


donia 5 years ago

Wa OOOOOOOOOO its excellent notes it solve all my problem in seconds thanx to writer


kisarei 5 years ago

hope to be helped to further c knowledge.


diego 5 years ago

ehhh!!!! wala koy nasabtan!


priya 5 years ago

ohhhhhhhhhhhhhhhhhhhhhhh its tooooooooooooo hard reyyyyyyyyyyyyyyy


Krishnasai 5 years ago

wt is double and where we use it and wt is the difference between double and other datatypes


tracy 5 years ago

nice one


Krishnasai 5 years ago

Wt is typedef?


Sreenu 5 years ago

It is very good. But please provide information about linked list.


tiya 5 years ago

it's nice


*raji* 5 years ago

in integer data type the size of int is wrongly printed it is 4 bytes not 2 bytes


james 5 years ago

i did not understand your explanation


vinod mathrani 5 years ago

i understand but data type is much clear to me

amazing text..............


ajay 5 years ago

c ccccccccccccccccccccccccccccccccccccccccccc dccccccccccccccccccc


TINA 5 years ago

Please give samples on Structures in Turbo C++


ammulu 5 years ago

please tell me how to find the power of integers in C language?


Sri 5 years ago

answer for power any integer

#include

#include // we use the command with cc name of file -lm in ubuntu system

main()

{

int y;

int m,n;

puts("Enter your number");

scanf("%d%d",&m,&n);

y=pow(m,n);

printf("%d\n",y);

}


andrie 5 years ago

tang ina nyong lahat !!!


siva 5 years ago

doubt means ask me...i very expert...


narendra yadav 5 years ago

hi its good job if u have any then call me


naveenkumar 5 years ago

c is an very beautiful language


rahul 5 years ago

i m impressed by ths


rajib 5 years ago

thanks for all


jatinder 5 years ago

its great


bhargav 5 years ago

nice


farhana naaz ansari 5 years ago

thank u for helping me


aneel 5 years ago

thanks..........


shohel 5 years ago

thanks For Help.


Voruganti Naveeen Kumar 5 years ago

pls explain typedef concept


SHASHI KANT SHUKLA 5 years ago

i saw but it is not so comfortable


renuka phanindra 5 years ago

excellent in c


sara 5 years ago

nice


Sarfaraz Alam  5 years ago

C IS PROCEDER LANGUAGE AND SECURE AND FLEXIBLE AND ASSEMBLY LAGUAGE. AND C IS SECONED GENERATION LANGUAGE WHICH IS WIDLEY USED IN THIS WORLD FIRST B LANGUAGE WAS DEVELOPED BY KEN THOMPSON WHICH WAS FULL SUPPORTABLE ON MCHINE AND IN THIS LANGUAGE SOME KEYBORD THAT NOBADY KNOWS.

AND AFTER SOME TIME DINEIC SICHEE EXPANDE THESE LANGUAGE IN C LANGUAGE.


AJODHIA 5 years ago

INTEGER HAVE 2 BYTE AND LONG HAVE 4 AND SHORT IS ONE WHY SHORT RANGE IS -32768 TO -32767 WHY ITS NOT EQUAL -128 TO 127

AJODHIA


kishore 5 years ago

thanks sir for this article.....

now i wud b able to complete my assingment


premnath 5 years ago

hai. how to declare string in c program


filza khan 5 years ago

what is ERROR in C programming language?


karteek.m 5 years ago

nice 2 study


Mary Grace Gabi 5 years ago

Great! I got it....

Nice site...all you want to know is in here and very understandable


Mary Grace Gabi 5 years ago

Great! I got it....

Nice site...all you want to know is in here and very understandable


dilip singh 5 years ago

without variable declare we done c programming?


G NAGARAJA 5 years ago

VERYGOOD IN C VERY USEFULL FOR USERS


bhaskar 5 years ago

its not bad, some more programms examples


nitheesh 5 years ago

it is easy to learn this program


nitheesh mettupalayam 5 years ago

easy to study


Kilari renuka 5 years ago

iluc


zain Malik  5 years ago

good work on dis site.


pkkumarpawan41@gmail.com 5 years ago

i visit dis site on 22nd april 2011,and as a compuer science student i fill that he has done better and it in easily understable language.

(m from bihar,patna,bihta,jinpura)


taimoor 5 years ago

very nice work i like it


abhinaya 5 years ago

I like the work very much ! people who are reading atleast try to understand it!!


Hasini 5 years ago

Need in depth details of range values


jagadeesha 5 years ago

so nice


ehc 5 years ago

nice one :)


apurva 5 years ago

which keyword is used in combination with a valid C data type to redefine the name of the data type?


priya 5 years ago

help me a lot in ma c asignment thanx


kamla kant pandey 5 years ago

destructor can be called finalize or not in the java?


supreet 5 years ago

thanks...for quick reference sir..:)


asma 5 years ago

it is very imp for inetual learners


dolly 5 years ago

it is very good and helped me a lot


nitya 5 years ago

nice....it helped me a lot for my seminar............


balu.... 5 years ago

nice answer


sidzy 5 years ago

what are compiler directives?


fida 5 years ago

i like this theory because this i understand.thanks


chinky 5 years ago

so boring


sarab 5 years ago

what is the best book of c????????????


vitthal 5 years ago

it is very simple if we understand properly


Jay 5 years ago

The best books..Oo..there are many

but you can refer to "Let Us C"-Yashwant kantentar OR

"C Programming \"-Balaguruswamy


sheetal 5 years ago

its realy good...i hav prepare my assignment using it..hop so i wil get gud rank..


pramod 5 years ago

it's good.


ashish panwar 5 years ago

it is very useful for bca group...............

i am student of bca .....

and i like this sheet.......


Munna 5 years ago

It is very simple language


viky 5 years ago

nice site


shipra 5 years ago

y do memory allocated to different data types of c are in even terms not in odd terms?


Maulik Patel 5 years ago

how can I do programming in IC?

Pls tell me......


Raj 5 years ago

explian data type in detial


manisha 5 years ago

thxxxxxxxxxx for this usefull inforamtion


Muttant 5 years ago

Cool!!


Ritika 5 years ago

hey ...i din get the point...that, Unsigned characters have values between 0 and 255, signed characters have values from –128 to 127. what does this means actually.plz elaborate.


Ranjan 5 years ago

signed intteger take both +ve and -ve value but unsigned integer take only +ve value


aakash 5 years ago

hey sir, the spelling of integer is wrong, in the table data types in c


prakash 5 years ago

how can we extend the range of values?????


MAAHI 5 years ago

IT IS VERY GOOD, BT FLOAT AND DOUBLE RANGES ARE NT UNDERSTABLE


devender 5 years ago

it;s very helpful to the new commers to the computer sites


alusha 5 years ago

it help me to prepare my practical so it is so helpful to me


kishorekumar 5 years ago

boss thank u very much it is very much useful


kishorekumar 5 years ago

boss thank u very much it is very much useful


krishna 5 years ago

..very helpful for beginers of c programming


Mayank Singh Kanaujia 5 years ago

its really a nyc aproch..i appreciate it and just keep it up....


SWEETY 5 years ago

ANY OTHER KEY WORDS ARE THERE EXPECT 32


nmyfvcgb 5 years ago

c languge is jadhal programing


debryan 5 years ago

can you please tell me how can i create my own data type of 256MB memory space

please reply ASAP at my e-mail id makhija2prakhar@live.com


kunal 5 years ago

its nice prestation of data type


Priya 5 years ago

What does E in 1.2E-38 refers to?


p k sharma 5 years ago

your method is very right


wantedmaniac 5 years ago

Thanks Mann . .

Perfectly Explained . .


Naresh 5 years ago

Thanks you help me to solving a problem.....


Anu 5 years ago

its nice


pravallika 5 years ago

so useful


Girish 4 years ago

thanks brthr


manoj 4 years ago

thanks


varun dhyani 4 years ago

sir plz describe the definition of int,float,char,double,void,

array,function,pointer

structure,unions,enumerations,


manoj dhyani 4 years ago

thank u..............


mani 4 years ago

i u c


Ahsan 4 years ago

T hank's Dear friend


vishakha 4 years ago

thank you for provide the c


pooja madivalar 4 years ago

thank u as its helpi me kno better


Ashish 4 years ago

Its not enough pls gv sm extra details abt c


andersonkibet 4 years ago

thanx i have learnt alot.


aqsa 4 years ago

c language is very good becuse i understand it very easily.


Nik's 4 years ago

Thank U All Friend


vimal 4 years ago

size of int,short,long,float and double

are archetecture dependent


sameer 4 years ago

some month before i don't know any inf in c


PANKAJ DWIVEDI 4 years ago

C is the basic programming language. If You are comfortable with C, then only you can able to learn more advance programming skills. I found above mention article on C very basic, but more important from the beginners point of view. Thanks for sharing it. This article surely reduces unnecessary fear of the computer language.


shaju 4 years ago

nice program


hari 4 years ago

koope


twinkle 4 years ago

i hate c i don't like 'c' language okkkkkkkkkkk


tamanna 4 years ago

too difficult and bkkwwaaaaaaaaasss


rahul 4 years ago

i want to know about c, its very intresting, but also hard for me.


sajan 4 years ago

i love c programming its very useful.


sajan 4 years ago

i luve studyin c programming. studying


suyash47 4 years ago

Array in C programming

An array in C language is a collection of similar data-type, means an array can hold value of a particular data type for which it has been declared. Arrays can be created from any of the C data-types int,...


Karan 4 years ago

Thanks.....Raj


vallabhi 4 years ago

love U C................Learning U is just playing with a friend


Syed Zaheer 4 years ago

This web side is awesome, i got good notes for c n have also learn answers soo tnks


teja 4 years ago

what is the use of %u in c language


Parvez 4 years ago

Why dos integer datatype in c take 4 bytes in visual studio ?

plsss reply back!!!


ruji 4 years ago

what is c plz tell me ....


rajkishor09 profile image

rajkishor09 4 years ago from Bangalore, Karnataka, INDIA Author

@Parvez size of any data type is compiler dependent.


srinu 4 years ago

if we have an intrest, then can we learn this subject very easily,,,,,


Ravi 4 years ago

The C programming language is a standardized programming language developed in the early 1970s by Ken Thompson and Dennis Ritchie foruse on the UNIX operating system. It has since spread to many other operating systems, and is one of the most widely used programming languages. C is prized for its efficiency, and is the most popular programming language for writing system software, though it is also used for writing applications.


m kashif 4 years ago

simple but easy to understand. so execelent


chinni 4 years ago

its very nice & easy to understand if da logics are clear


sai ram 4 years ago

i know c but i don't knw.... c language wt to do....bro... i beg u teachh c plz bro i touch u r feet..... my num is 9000932558


sai ram 4 years ago

i m from b v raju college,studying 1st year,narsapur,medak.

.....please teach me c bro....


ravi 4 years ago

@ sai ram

which branch r u ??


mohd kashif 4 years ago

great work


fasial 4 years ago

its support very well for my exam


faizkiki family 4 years ago

thank u


dinesh 4 years ago

thank u very much i answered my viva question in my practical session by using this site


jhin_jhin 4 years ago

i liKe it.


nikhil so.... 4 years ago

thank u very much ...:)


chitti 4 years ago

gud expl


chitti 4 years ago

thnk u


chitti 4 years ago

thnk u bro 4 such a good expl


chitti 4 years ago

i gave a seminar using this


Sunti Lhatdavong 4 years ago

I like C language


all bca 4 years ago

c language is so so so so so so easier dude


cheryl 4 years ago

what is the importance of the sizes of the data types in c language?


prince suwalka 4 years ago

c lang is very mindblowing lang


yasir lovee 4 years ago

ThankU sir,,,

Jst a question that U have not used in data types that is ''Format'' of these data types.Plz justify if so........


Vamshi 4 years ago

Nice site bro..

It is very use full...


mobigujjar 4 years ago

I m a stdnt of BS(IT)

plz u help me in this field

plz snd email address to me

mobigujjar02@gmail.com


Raj 4 years ago

am a student of cse but from bio background so plz help me my email id is-rajnandi15992@gmail.com


adil khan 4 years ago

no compiler not depend on variable..........


bk 4 years ago

Too nice sis it is very koalaveru da


arvnagendrakumar5 4 years ago

i love c programs


codeguru 4 years ago

this article is so so not good


krish 4 years ago

very fine historical and briefly knowledge of c. good one


aruna devi 4 years ago

what are data types in c?


glorious143@hotmail.com 4 years ago

what's the mean by recursion?


kamaluddin ahmed 4 years ago

i want to make indian national flag but how ,i have no idea ,please give me some tips


sanjeev kumar 4 years ago

i am define int a=015 and print the value is 13 why plz rply me urgently


Sanket Sathe 4 years ago

Awesum...


kanchan Pande 4 years ago

Can any one tell me,that there are how many data types included in C and C#.


md wakash ahmad 4 years ago

why uses # in c program

please reply this topic on that site


Nibedita Swain 4 years ago

What variable? explane pointer variable


saanraja@yahoo.com 4 years ago

thankyou very much...............this provides us many hints for further study


supriya,s.p.jain college 4 years ago

thank's for deeply information


dude 4 years ago

how can i print these data types i mean like %d for integer... what for double, long double and short int etc


INSI 4 years ago

WAT IS USE OF * IN SCANF STATEMAENT?


Md Ali Umar 4 years ago

for double %lf & for long double %Lf, for short signed int %d, short unsigned int %u.

aliumar.in@gmail.com

Bhagalpur,

Bihar,

India.


sree 4 years ago

i dont know c.how to do the programs,so plz give me a suggestion to over come the problem


fahad akhtar profile image

fahad akhtar 4 years ago from pakistan

plzzzz give me about the idea of modulus in algorithm


ravi ranjan 4 years ago

gooooooooooddddd


kalpana 4 years ago

so confuse and so boring


Ajay PAtil 4 years ago

@rajkishor09 ::::::::::::::?????????????????

if knw the correct ans den only post otherwise don't post..............don't misguide to people.......plz

who told u dat structure is NOT user defined data type,,,,,,,,,,,,,,,,,,,,buddy

its user defined data type ..pgmer only define types of variables which u Want..................so plzzzzzzzzzzz u knw correcr n accurate ans den post otherwise don't post


Ajay bidhauliya 4 years ago

need to few is described


mekhzam 4 years ago

this is very nice


raj 4 years ago

why we need range for datatype like int as -32708 to 32627?


santhosh kumar 4 years ago

it's intresting..... but i dnt know c program.....

pls help me....


anchal 4 years ago

kuch samajh nah araha


jaswant kumar 4 years ago

i think four batter c program tools this web site


ankur 4 years ago

can u tell me where the data type store in comp.memory


Java Programs profile image

Java Programs 4 years ago from India

Excellent hub on Data types in C.... I am also a software developer and have started writing for hubpages under category of Java. I have published my first hubs as :

http://javaprograms.hubpages.com/hub/Introduction-...

have a look .... Thanks for the wonderful information...


priyanka 4 years ago

Thanks, it helps me a lot


Arun Mavi 4 years ago

It is hard for UP board students only otherwise it is easy


monisha 4 years ago

what is abstract datatype?


Ramisha Rukhsar 4 years ago

plz tell me about the problems of floating point used in c programming language.plz tell me ans as soon as possible


Hasnain 4 years ago

If any one have any good material regarding c & c++,plz send me at shasnainraza92@aol.com


magoo 4 years ago

that was short and precise, thank you!


abhinav vats 4 years ago

it is very helpful so plz keep it up


simran 4 years ago

thanks for uploading this information

really its very help me


Masabo Christophe 4 years ago

thank you for teaching, then you add more programms

ok


waqas Amanat 4 years ago

its really a very helpful for students & others. it helped me a lot in my exams..thankx a lot


rajkishor09 profile image

rajkishor09 4 years ago from Bangalore, Karnataka, INDIA Author

thanks for visiting my friend...


jawadmalik 4 years ago

its working ... :)


jhezrylle 4 years ago

anu po ung mga Variables ng c language?/


ian05 4 years ago

very helpful... keep it up, do some more... great job.


ramesh 4 years ago

kolaveri


Pinku Hazra 4 years ago

By this answer am very helpful,..thanks keep on.


ALI 3 years ago

ooooooooooooooooooooooo


Programminghub profile image

Programminghub 3 years ago from India

Really a nice post Dear...:)

I created a facebook, from where you can download lots of free ebooks and tutorials....(in a single click only..)

C, C++ and JAVA programming tutorials + Much More..

Thank You Raj Kishor..


sonuxrt 3 years ago

www.eazynotes.com/notes/c/notes/data-types-in-c-language.pdf

Don't copy from another website


rajkishor09 profile image

rajkishor09 3 years ago from Bangalore, Karnataka, INDIA Author

Well said @sonuxrt, I published this article on this site on 04/07/2009 and that site came into existence on Sat, 26 Nov 11 11:14:14 +0400 see link http://eazynotes.com.whoisbucket.com I didn't know know that I am so good in copying content :P.


sania angle 3 years ago

thank u..............


udhayan 3 years ago

than q very much....this helped me a lot:)))


manjunath 3 years ago

its very useful to students thank u


rajendra 3 years ago

please give me all notes of c langauge with programme........


mushkin 3 years ago

thanks its very easy to understand,not any confuse


ss 3 years ago

its nice


nikita 3 years ago

thanks for information


Aadil Syed 2 years ago

awesom programing c but its vry complicated......


nicomp profile image

nicomp 20 months ago from Ohio, USA

The char type should not be confused with a character. It's simply a 1-byte integer, usually. It can 'hold' any integer value within the given range. A one-byte signed char, for example, has the range -128 through +127.


diksha koushal 20 months ago

its nice

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working