Monash University >
School
of Computer Science and Software Engineering >
CSE1303 >
Part B >
Lectures > Lecture B06 notes
CSE1303 Computer Science
Semester 2, 2003
Part B
Lecture B06 notes: Pointers, characters and grouping
In this lecture
- Pointers
- Value that is the address of another value
- Essentially just integers
- Pointer arithmetic
- Pointers and arrays
- Elements stored sequentially
- Structures
- Elements stored sequentially
- Elements accessed as offset from start of structure
- Characters
- Stored internally as small integers (of type char)
using ASCII.
- Strings
- Usually stored in an array of char
- Start of string indicated by pointer to first character
- End of string indicated with end-of-string character
'\0'
[ Top |
Home ]
Last modified 2002-12-04