buffer and non formatted input in C

hey sometimes i check the codes of people with better time complexity than my code. i usually find that they have used non formatted input or rgister variables or taking a pointer and defining a bufsize in place of an array. can anybody suggest a proper place to learn how to use these??

//