What is the most efficient way to take input of a character array or string of 25 ASCII characters using scanf?
They are not formatted, just a sequence of character. i.e. ABCDEFGHIJKLMNOPQRSTUVWXY
One more point is that, after input I have to find a sequence of character within this string, so it there any benefit in using 'string class' or should I just 'scanf and char array', cause I know my constrains.
Suggestion both considering following operation and not, is appreciated.