CS 1044 Final: Final Exam - Fall 2017

64 views25 pages

Document Summary

Chapter 10: simple data types, built in and user defined data types. They are used to define type of variables and contents used. Data types define the way you use storage in the programs you write. Data types can be built in or abstract. These data types are built-in or predefined data types and can be used directly by the user to declare variables. Integer: keyword used for integer data types is int. Integers typically requires 4 bytes of memory space and ranges from -2147483648 to 2147483647. Character: character data type is used for storing characters. Keyword used for character data type is char. Characters typically requires 1 byte of memory space and ranges from -128 to 127 or 0 to 255. Boolean: boolean data type is used for storing boolean or logical values. A boolean variable can store either true or false. Keyword used for boolean data type is bool.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents