Final Review
The final exam
- practice final examination.
- real final examination.
Four confessions
Don’t need {curly braces} around a single statement.
single1.C
:
for
loop
single2.C
:
if
statement
Prefix vs. postfix increment (and decrement)
- Output the incremented variable.
output1.C
: prefix increment
output2.C
: postfix increment
output3.C
:
avoid postfix increment
- Copy the incremented variable.
assign1.C
: prefix increment
assign2.C
: postfix increment
assign3.C
:
avoid postfix increment
const data types
const.C
:
the data types
const int
vs. plain old int
Easier way to get the number of elements in an array
size.C
Spring 2025 Computer Science II CISC-2000-E01 (Thursdays)
- Syllabus
sql.C
:
read records from a database