Some of the useful code snippets while learning C.