Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

The GNU C Programming Tutorial - More data types

Node:More data types, Next:, Previous:Advanced operators, Up:Top



More data types

There are still a few data types in C that we have not discussed. Actually, since C allows you to define new data types at will, no one can ever cover all possibilities. We will only discuss the most important examples.

enum
Type specifier for variables that can have a set of different values.
void
Type specifier for "empty" data.
volatile
Type qualifier for data that changes independently of the program.
const
Type qualifier for data that cannot change.

In addition, there are two data types called struct and union that are so important, they have received their own chapter. (See Data structures, for more information on struct and union.)

 
 
  Published under free license. Design by Interspire