Interesting functions in C