Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Someone can I explain me everything about data type?

Status
Not open for further replies.

Lauro

Programmer
Jul 29, 2001
10
BR
Hi all!!!

Well,

I'm a newbie. So I wanna know what is data type concept. How it works etc. I wanna know everything about data type in programming world.

Please help me!!!!
 
Hi!
Data types are used to classify data that we manipulate in programs. Each variable we declare must be of a certain type. For eg., we have integers, characters, strings, real values (float) and so on. Based on the data type, the compiler allocates certain amount of memory to the variable.

Apart from these pre-defined data types, C allows us to define our own data types. We use "typedef" keyword for this. You can get more help from Turbo C / Borland C itself for each of the keywords.

If you want to know about "Data Structures" you may read the book by Tenenbaum or the one by Horowitz.

Hope this helps.

- Karthika
 
Hi Lauro,
This is a very obvious question for enery newbie. I suggest you read the starters books Like Programming with C
By William Gottfried (McGraw Hill). If you face further problems. you can approach us.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top