Sample C programs
- createstrings.c: a C program
that demonstrates string manipulation. In particular, it shows how to start
with a 5-letter word and generate all 5-letter strings that differ from it
in exactly one letter in exactly one position.
- inputoutput.c: a C program
that shows how to do file input-output in C.
- arraytest.c: a C program
that shows how to declare and use arrays.
- passargs.c: a C program
that demonstrates how to pass arguments in and out of C functions.
- pointer.c: a C program
that demonstrates C pointers. It shows the dereference operator,
the memory allocation function (malloc), and the memory deallocation
- singlylinkedlist.c: a C program
that shows how to define and use a singly linked list.