Unit 1:
Hello, world!
|
Unit 2:
size of primitive data types,
character operations,
Chinese character Big5 encoding,
Chinese character Big5 decoding,
maximum and minimum values of integers,
short and long integers,
floating-point number formats,
format specifier,
primitive type conversion without casting,
primitive type conversion with casting
|
Unit 3:
history-sensitive variable,
temperature conversion Centigrade to Fahrenheit,
prefix and postfix operator,
evaluation order,
type conversion,
assignment as expression,
circumference and area of a circle
|
Unit 4:
truth values,
bitwise negation,
bitwise conjunction, disjunction, exclusive or,
bitwise shift operations,
bitwise arithmetic operations,
bitwise or as addition,
print number without break,
print number with break
|
Unit 5:
value and address of one-dimensional array,
value and address of two-dimensional array,
average score,
highest score,
character scanning using while-loop,
character scanning using do-while-loop,
sequential search algorithm,
sequential search algorithm with short circuit evaluation,
bubble sort algorithm,
binary search algorithm
|
Unit 6:
average student score,
size of student structure,
nested structure,
union type,
size of union type
|
Unit 7:
selection sort,
solving a quadratic equation
(complex.h,
complex. c,
quadratic_equation_all.c),
pass by value,
pass by address,
stack reverse operation with array implementation
(stack_array_reverse.c,
stack_array.h,
stack_array.c),
functional_parameter.c,
recursive factorial function,
recursive function of Fibonacci numbers,
iterative function of Fibonacci numbers,
Tower of Hanoi
|
Unit 8:
memory allocation for an integer,
memory allocation of a one-dimensional array,
memory allocation of two-dimensional array,
string overflow,
compare string,
reverse using linked list
(stack_list_reverse.c,
stack_list.h,
stack_list.c)
|
Unit 9:
file copy version 1
(source.txt),
file copy version 2
(source.txt),
average class in sorted order
(student_score.txt)
|