I use fgets to read lines from a file. And I am going to use the first char as a mark. But the first char of many lines is not a char but space or tab. I want to trim out the spaces. Which function can do this in C?
This tutorial covers some basics of pointer, pointer arithmetic and function pointer.
What is a pointer:
A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…