Marquette University logo      

Introduction to C, Part 2

 

Go to Part 1 or Part 3

Photos of blackboard notes from Dr. Brylow's lectures

Wednesday, Jan. 21, 2015:

2014:

Wednesday, Jan. 22, 2014:

Friday, Jan. 24, 2014:

2013:

String is an array of char

 

badpointer

 

Output

 

badpointer

 

Output

 

When does the loop halt? - Output

 

When does the loop halt?

 

NULL terminator?

 

NULL terminator - Output

 

Pointer operators

 

Draw the right picture

 

Pointer arithmetic

 

Pointer + integer --> Pointer

 

Pointer + integer --> Pointer

 

2012:

Variable types

 

Unsigned, integer literals, precedence

 

Operators, logical

 

Logical operators, control structures

 

For loop

 

2007:

 

Reference and dereference operators

 

Badpointer.c, ver. 1

 

Badpointer.c, ver. 2

 

 
  Marquette University. Be The Difference. Marquette | Corliss |