APPENDIX 6 Essentials of C

This appendix provides summary information on key aspects of the C programming language as a set of tables. Example usage and further explanations of most of these features appear in Chapters 14–19 of this book.

TABLE A6.1 C keywords associated with data type and structure definition

Word. Summary meaning. Word. Summary meaning.
char A single character, usually 8-bit. signed A qualifier applied to char or int (default for char and int is signed).
const Data that will not be modified. sizeof Returns the size in bytes of a specified item, which may be variable, expression or array.
double A ‘double precision’ floating-point number. struct Allows definition of a data structure.
enum Defines variables that ...

Get Designing Embedded Systems with PIC Microcontrollers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.