ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

C Programming Lesson - Data Types in C Language

Updated on September 29, 2014
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.

Comments

    0 of 8192 characters used
    Post Comment

    • sreeemay profile image

      sreeemay 8 years ago from hyderabad

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

    • nicomp profile image

      nicomp really 8 years ago from Ohio, USA

      An enum is an integer type.

    • profile image

      fahad 7 years ago

      what is boolean in data type

    • rajkishor09 profile image
      Author

      RAJKISHOR SAHU 7 years ago from Bangalore, Karnataka, INDIA

      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.

    • profile image

      muniba 7 years ago

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

    • profile image

      pappu 7 years ago

      love u

    • profile image

      Saurabh 7 years ago

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

    • profile image

      Raj 7 years ago

      good One!

    • profile image

      K.S.KHAN 7 years ago

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

    • profile image

      Zulekha Sarfaraz 7 years ago

      Well, it sure is useful

    • profile image

      ankur gupta 7 years ago

      nice one

    • profile image

      josh 7 years ago

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

    • profile image

      suman 7 years ago

      what is c progamming

    • profile image

      rani  7 years ago

      what is c

    • sushiltl profile image

      sushiltl 7 years ago from MANCHESTER

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

    • profile image

      soumya 7 years ago

      i love u c

    • profile image

      tayyab 7 years ago

      i like programming

    • profile image

      swapnali 7 years ago

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

    • save my system profile image

      save my system 7 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.

    • profile image

      suji 7 years ago

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

    • profile image

      naheed 7 years ago

      c language:its veeeeeeeeeeeeeeery dificult.

    • profile image

      mustafa 7 years ago

      thanks

    • profile image

      Tahir Ali 7 years ago

      Dear

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

    • profile image

      jas 7 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;

    • profile image

      anjali 7 years ago

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

    • profile image

      prathibha 7 years ago

      thank you

    • profile image

      RAJ 7 years ago

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

    • profile image

      rima 7 years ago

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

    • profile image

      muzammil3 7 years ago

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

    • profile image

      Raghava 6 years ago

      I like programming but it confusing to me.

    • profile image

      Mitali 6 years ago

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

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

    • profile image

      mitali 6 years ago

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

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

    • profile image

      nidhi 6 years ago

      it's good but so boring...

    • profile image

      hitender 6 years ago

      hello can i know about the data type in c

    • profile image

      bansal 6 years ago

      check the range of floats again

    • profile image

      Siva 6 years ago

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

    • profile image

      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!

    • profile image

      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...

    • profile image

      srinivas 6 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

    • profile image

      anita priyanka 6 years ago

      bakwasssssssssss

    • profile image

      sonia 6 years ago

      so boringgggggggggggggggg

    • profile image

      ashraf 6 years ago

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

    • profile image

      fayazali 6 years ago

      what is getch(); why we use it

    • profile image

      little 6 years ago

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

    • profile image

      6 years ago

      hey what is recursion??

    • profile image

      REEAk 6 years ago

      i lyk c programming

    • profile image

      venu 6 years ago

      short int hold only 1 byte of storage

    • profile image

      khan 6 years ago

      great work

    • profile image

      UMAIR KHAN 6 years ago

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

    • profile image

      hidayat shigri 6 years ago

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

    • profile image

      rajiv 6 years ago

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

    • profile image

      shahbaaz khan 6 years ago

      it is good for baisc knoladge.

    • profile image

      kiran 6 years ago

      its amazing

    • profile image

      karthik 6 years ago

      Its vry gd 4 my studies

    • profile image

      gixmo wixmo 6 years ago

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

    • profile image

      donia 6 years ago

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

    • profile image

      kisarei 6 years ago

      hope to be helped to further c knowledge.

    • profile image

      diego 6 years ago

      ehhh!!!! wala koy nasabtan!

    • profile image

      priya 6 years ago

      ohhhhhhhhhhhhhhhhhhhhhhh its tooooooooooooo hard reyyyyyyyyyyyyyyy

    • profile image

      Krishnasai 6 years ago

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

    • profile image

      tracy 6 years ago

      nice one

    • profile image

      Krishnasai 6 years ago

      Wt is typedef?

    • profile image

      Sreenu 6 years ago

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

    • profile image

      tiya 6 years ago

      it's nice

    • profile image

      *raji* 6 years ago

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

    • profile image

      james 6 years ago

      i did not understand your explanation

    • profile image

      vinod mathrani 6 years ago

      i understand but data type is much clear to me

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

    • profile image

      ajay 6 years ago

      c ccccccccccccccccccccccccccccccccccccccccccc dccccccccccccccccccc

    • profile image

      TINA 6 years ago

      Please give samples on Structures in Turbo C++

    • profile image

      ammulu 6 years ago

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

    • profile image

      Sri 6 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);

      }

    • profile image

      andrie 6 years ago

      tang ina nyong lahat !!!

    • profile image

      siva 6 years ago

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

    • profile image

      narendra yadav 6 years ago

      hi its good job if u have any then call me

    • profile image

      naveenkumar 6 years ago

      c is an very beautiful language

    • profile image

      rahul 6 years ago

      i m impressed by ths

    • profile image

      rajib 6 years ago

      thanks for all

    • profile image

      jatinder 6 years ago

      its great

    • profile image

      bhargav 6 years ago

      nice

    • profile image

      farhana naaz ansari 6 years ago

      thank u for helping me

    • profile image

      aneel 6 years ago

      thanks..........

    • profile image

      shohel 6 years ago

      thanks For Help.

    • profile image

      Voruganti Naveeen Kumar 6 years ago

      pls explain typedef concept

    • profile image

      SHASHI KANT SHUKLA 6 years ago

      i saw but it is not so comfortable

    • profile image

      renuka phanindra 6 years ago

      excellent in c

    • profile image

      sara 6 years ago

      nice

    • profile image

      Sarfaraz Alam  6 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.

    • profile image

      AJODHIA 6 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

    • profile image

      kishore 6 years ago

      thanks sir for this article.....

      now i wud b able to complete my assingment

    • profile image

      premnath 6 years ago

      hai. how to declare string in c program

    • profile image

      filza khan 6 years ago

      what is ERROR in C programming language?

    • profile image

      karteek.m 6 years ago

      nice 2 study

    • profile image

      Mary Grace Gabi 6 years ago

      Great! I got it....

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

    • profile image

      Mary Grace Gabi 6 years ago

      Great! I got it....

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

    • profile image

      dilip singh 6 years ago

      without variable declare we done c programming?

    • profile image

      G NAGARAJA 6 years ago

      VERYGOOD IN C VERY USEFULL FOR USERS

    • profile image

      bhaskar 6 years ago

      its not bad, some more programms examples

    • profile image

      nitheesh 6 years ago

      it is easy to learn this program

    • profile image

      nitheesh mettupalayam 6 years ago

      easy to study

    • profile image

      Kilari renuka 6 years ago

      iluc

    • profile image

      zain Malik  6 years ago

      good work on dis site.

    • profile image

      pkkumarpawan41@gmail.com 6 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)

    • profile image

      taimoor 6 years ago

      very nice work i like it

    • profile image

      abhinaya 6 years ago

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

    • profile image

      Hasini 6 years ago

      Need in depth details of range values

    • profile image

      jagadeesha 6 years ago

      so nice

    • profile image

      ehc 6 years ago

      nice one :)

    • profile image

      apurva 6 years ago

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

    • profile image

      priya 6 years ago

      help me a lot in ma c asignment thanx

    • profile image

      kamla kant pandey 6 years ago

      destructor can be called finalize or not in the java?

    • profile image

      supreet 6 years ago

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

    • profile image

      asma 6 years ago

      it is very imp for inetual learners

    • profile image

      dolly 6 years ago

      it is very good and helped me a lot

    • profile image

      nitya 5 years ago

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

    • profile image

      balu.... 5 years ago

      nice answer

    • profile image

      sidzy 5 years ago

      what are compiler directives?

    • profile image

      fida 5 years ago

      i like this theory because this i understand.thanks

    • profile image

      chinky 5 years ago

      so boring

    • profile image

      sarab 5 years ago

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

    • profile image

      vitthal 5 years ago

      it is very simple if we understand properly

    • profile image

      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

    • profile image

      sheetal 5 years ago

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

    • profile image

      pramod 5 years ago

      it's good.

    • profile image

      ashish panwar 5 years ago

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

      i am student of bca .....

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

    • profile image

      Munna 5 years ago

      It is very simple language

    • profile image

      viky 5 years ago

      nice site

    • profile image

      shipra 5 years ago

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

    • profile image

      Maulik Patel 5 years ago

      how can I do programming in IC?

      Pls tell me......

    • profile image

      Raj 5 years ago

      explian data type in detial

    • profile image

      manisha 5 years ago

      thxxxxxxxxxx for this usefull inforamtion

    • profile image

      Muttant 5 years ago

      Cool!!

    • profile image

      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.

    • profile image

      Ranjan 5 years ago

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

    • profile image

      aakash 5 years ago

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

    • profile image

      prakash 5 years ago

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

    • profile image

      MAAHI 5 years ago

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

    • profile image

      devender 5 years ago

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

    • profile image

      alusha 5 years ago

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

    • profile image

      kishorekumar 5 years ago

      boss thank u very much it is very much useful

    • profile image

      kishorekumar 5 years ago

      boss thank u very much it is very much useful

    • profile image

      krishna 5 years ago

      ..very helpful for beginers of c programming

    • profile image

      Mayank Singh Kanaujia 5 years ago

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

    • profile image

      SWEETY 5 years ago

      ANY OTHER KEY WORDS ARE THERE EXPECT 32

    • profile image

      nmyfvcgb 5 years ago

      c languge is jadhal programing

    • profile image

      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

    • profile image

      kunal 5 years ago

      its nice prestation of data type

    • profile image

      Priya 5 years ago

      What does E in 1.2E-38 refers to?

    • profile image

      p k sharma 5 years ago

      your method is very right

    • profile image

      wantedmaniac 5 years ago

      Thanks Mann . .

      Perfectly Explained . .

    • profile image

      Naresh 5 years ago

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

    • profile image

      Anu 5 years ago

      its nice

    • profile image

      pravallika 5 years ago

      so useful

    • profile image

      Girish 5 years ago

      thanks brthr

    • profile image

      manoj 5 years ago

      thanks

    • profile image

      varun dhyani 5 years ago

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

      array,function,pointer

      structure,unions,enumerations,

    • profile image

      manoj dhyani 5 years ago

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

    • profile image

      mani 5 years ago

      i u c

    • profile image

      Ahsan 5 years ago

      T hank's Dear friend

    • profile image

      vishakha 5 years ago

      thank you for provide the c

    • profile image

      pooja madivalar 5 years ago

      thank u as its helpi me kno better

    • profile image

      Ashish 5 years ago

      Its not enough pls gv sm extra details abt c

    • profile image

      andersonkibet 5 years ago

      thanx i have learnt alot.

    • profile image

      aqsa 5 years ago

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

    • profile image

      Nik's 5 years ago

      Thank U All Friend

    • profile image

      vimal 5 years ago

      size of int,short,long,float and double

      are archetecture dependent

    • profile image

      sameer 5 years ago

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

    • profile image

      PANKAJ DWIVEDI 5 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.

    • profile image

      shaju 5 years ago

      nice program

    • profile image

      hari 5 years ago

      koope

    • profile image

      twinkle 5 years ago

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

    • profile image

      tamanna 5 years ago

      too difficult and bkkwwaaaaaaaaasss

    • profile image

      rahul 5 years ago

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

    • profile image

      sajan 5 years ago

      i love c programming its very useful.

    • profile image

      sajan 5 years ago

      i luve studyin c programming. studying

    • profile image

      suyash47 5 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,...

    • profile image

      Karan 5 years ago

      Thanks.....Raj

    • profile image

      vallabhi 5 years ago

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

    • profile image

      Syed Zaheer 5 years ago

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

    • profile image

      teja 5 years ago

      what is the use of %u in c language

    • profile image

      Parvez 5 years ago

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

      plsss reply back!!!

    • profile image

      ruji 5 years ago

      what is c plz tell me ....

    • rajkishor09 profile image
      Author

      RAJKISHOR SAHU 5 years ago from Bangalore, Karnataka, INDIA

      @Parvez size of any data type is compiler dependent.

    • profile image

      srinu 5 years ago

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

    • profile image

      Ravi 5 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.

    • profile image

      m kashif 5 years ago

      simple but easy to understand. so execelent

    • profile image

      chinni 5 years ago

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

    • profile image

      sai ram 5 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

    • profile image

      sai ram 5 years ago

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

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

    • profile image

      ravi 5 years ago

      @ sai ram

      which branch r u ??

    • profile image

      mohd kashif 5 years ago

      great work

    • profile image

      fasial 5 years ago

      its support very well for my exam

    • profile image

      faizkiki family 5 years ago

      thank u

    • profile image

      dinesh 5 years ago

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

    • profile image

      jhin_jhin 5 years ago

      i liKe it.

    • profile image

      nikhil so.... 5 years ago

      thank u very much ...:)

    • profile image

      chitti 5 years ago

      gud expl

    • profile image

      chitti 5 years ago

      thnk u

    • profile image

      chitti 5 years ago

      thnk u bro 4 such a good expl

    • profile image

      chitti 5 years ago

      i gave a seminar using this

    • profile image

      Sunti Lhatdavong 5 years ago

      I like C language

    • profile image

      all bca 5 years ago

      c language is so so so so so so easier dude

    • profile image

      cheryl 5 years ago

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

    • profile image

      prince suwalka 5 years ago

      c lang is very mindblowing lang

    • profile image

      yasir lovee 5 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........

    • profile image

      Vamshi 5 years ago

      Nice site bro..

      It is very use full...

    • profile image

      mobigujjar 5 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

    • profile image

      Raj 5 years ago

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

    • profile image

      adil khan 5 years ago

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

    • profile image

      bk 5 years ago

      Too nice sis it is very koalaveru da

    • profile image

      arvnagendrakumar5 5 years ago

      i love c programs

    • profile image

      codeguru 5 years ago

      this article is so so not good

    • profile image

      krish 5 years ago

      very fine historical and briefly knowledge of c. good one

    • profile image

      aruna devi 5 years ago

      what are data types in c?

    • profile image

      glorious143@hotmail.com 5 years ago

      what's the mean by recursion?

    • profile image

      kamaluddin ahmed 5 years ago

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

    • profile image

      sanjeev kumar 5 years ago

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

    • profile image

      Sanket Sathe 5 years ago

      Awesum...

    • profile image

      kanchan Pande 5 years ago

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

    • profile image

      md wakash ahmad 5 years ago

      why uses # in c program

      please reply this topic on that site

    • profile image

      Nibedita Swain 5 years ago

      What variable? explane pointer variable

    • profile image

      saanraja@yahoo.com 5 years ago

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

    • profile image

      supriya,s.p.jain college 5 years ago

      thank's for deeply information

    • profile image

      dude 5 years ago

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

    • profile image

      INSI 5 years ago

      WAT IS USE OF * IN SCANF STATEMAENT?

    • profile image

      Md Ali Umar 5 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.

    • profile image

      sree 5 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 5 years ago from pakistan

      plzzzz give me about the idea of modulus in algorithm

    • profile image

      ravi ranjan 5 years ago

      gooooooooooddddd

    • profile image

      kalpana 5 years ago

      so confuse and so boring

    • profile image

      Ajay PAtil 5 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

    • profile image

      Ajay bidhauliya 5 years ago

      need to few is described

    • profile image

      mekhzam 5 years ago

      this is very nice

    • profile image

      raj 5 years ago

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

    • profile image

      santhosh kumar 5 years ago

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

      pls help me....

    • profile image

      anchal 5 years ago

      kuch samajh nah araha

    • profile image

      jaswant kumar 5 years ago

      i think four batter c program tools this web site

    • profile image

      ankur 5 years ago

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

    • Java Programs profile image

      Java Programs 5 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...

    • profile image

      priyanka 5 years ago

      Thanks, it helps me a lot

    • profile image

      Arun Mavi 5 years ago

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

    • profile image

      monisha 5 years ago

      what is abstract datatype?

    • profile image

      Ramisha Rukhsar 5 years ago

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

    • profile image

      Hasnain 5 years ago

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

    • profile image

      magoo 5 years ago

      that was short and precise, thank you!

    • profile image

      abhinav vats 5 years ago

      it is very helpful so plz keep it up

    • profile image

      simran 5 years ago

      thanks for uploading this information

      really its very help me

    • profile image

      Masabo Christophe 5 years ago

      thank you for teaching, then you add more programms

      ok

    • profile image

      waqas Amanat 5 years ago

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

    • rajkishor09 profile image
      Author

      RAJKISHOR SAHU 5 years ago from Bangalore, Karnataka, INDIA

      thanks for visiting my friend...

    • profile image

      jawadmalik 5 years ago

      its working ... :)

    • profile image

      jhezrylle 5 years ago

      anu po ung mga Variables ng c language?/

    • profile image

      ian05 5 years ago

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

    • profile image

      ramesh 5 years ago

      kolaveri

    • profile image

      Pinku Hazra 4 years ago

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

    • profile image

      ALI 4 years ago

      ooooooooooooooooooooooo

    • Programminghub profile image

      Programminghub 4 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..

    • profile image

      sonuxrt 4 years ago

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

      Don't copy from another website

    • rajkishor09 profile image
      Author

      RAJKISHOR SAHU 4 years ago from Bangalore, Karnataka, INDIA

      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.

    • profile image

      sania angle 4 years ago

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

    • profile image

      udhayan 4 years ago

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

    • profile image

      manjunath 4 years ago

      its very useful to students thank u

    • profile image

      rajendra 4 years ago

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

    • profile image

      mushkin 4 years ago

      thanks its very easy to understand,not any confuse

    • profile image

      ss 3 years ago

      its nice

    • profile image

      nikita 3 years ago

      thanks for information

    • profile image

      Aadil Syed 2 years ago

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

    • nicomp profile image

      nicomp really 2 years 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.

    • profile image

      diksha koushal 2 years ago

      its nice

    • profile image

      Obzy 3 weeks ago

      What is the size and range of viod

    Click to Rate This Article