This video contains detailed solution of following question which came in ICSE 2009.This question is important because it tests you problem solving skills and is also very useful to learn string concepts for string manipulation
Question:
Write a program to input a sentence and print the number of characters found in the longest word of the given sentence.
For example, if S = "india is my country" then the output would be 7