Search This Blog

Data types in programming

There are five basic data types associated with variables:
 - int: integer: a whole number.
 - float: floating point value: ie a number with a fractional part.
 - double: a double-precision floating point value.
 - char: a single character.
 - string:  a collection of many character
 - void - valueless special purpose type which we will examine closely in later sections.
Share:

No comments:

Blog Archive

Powered by Blogger.

Blog Archive

Recent Posts

Pages