• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Largest and smallest word.

aparupsen05

New Coder
Write a C program to print Largest and Smallest Word from a given sentence. If there are two or more words of same length, then the first one is considered. A single letter in the sentence is also consider as a word.
 

Ghost

Active Coder
Seems interesting. Thanks!
What seems interesting / what are you thanking him for? He's asking a question...

Write a C program to print Largest and Smallest Word from a given sentence. If there are two or more words of same length, then the first one is considered. A single letter in the sentence is also consider as a word.
This sounds like a very specific school assignment to be honest lol.
Anyways, I do not know C, but here's a resource that claims to find shortest word with C:
 

Top