i want to write a program to print the longest word in a sentence but without using any built in function. can anybody please help me write this code in c language.
Yes, someone can help. What do you have so far? If you don't have anything, what's your thought process for working it out? Have you analyzed the structure of a sentence to break it down into words? Note that "help" does *not* constitute doing work for you. Read More
At a glance, the logic looks okay. There are some nasty habits that should be eliminated though: > \#include<conio.h> The conio library is not needed in this program, it and all functions from it should be removed to maximize portability. This header is not standard, so you're basically limiting yourself … Read More
Edited by cayman
Edited by deceptikon