Reading string in C using scanf function