The document contains 10 code snippets showing different C programming examples:
1) Swapping two numbers using a third variable and without a third variable.
2) Calculating power of a number.
3) Counting digits of a number using while and for loops.
4) Finding the largest number from user input.
5) Calculating sum of digits of a number using while, for, and recursion.
6) Finding LCM and sum of an infinite GP series.