Read strings in a file and count occurrences
Filed under Societe Generale
The question
Write a program to perform basic file operations to read strings in a file and count their occurrences.
No write-up yet. Related questions below have one.
Related Societe Generale questions
Collected from public candidate posts and coding forums. Updated Nov 2026.