Ask your own question, for FREE!
Computer Science 14 Online
OpenStudy (anonymous):

create a function name FindNextWord that accepts a character pointer and returns a character pointer. -the parameter accepted which is a char pointer is pointing to a string. -you are to return the location of the next word inside the string. main(){ char s[100]="the quick brown fox jumps over the lazy dog." char *p; p=FindNextWord(s); puts(p); //should return the value "quick brown fox jumps over the lazy dog." } C language :D

OpenStudy (arnavguddu):

check this code....and tell me use Turbo C/C++

OpenStudy (anonymous):

ok wait, i uses turbo c.. :D

OpenStudy (arnavguddu):

ok...no probs...try it and tell

OpenStudy (anonymous):

arnav, thank you soo much for your big help. i added you in facebook :D..

OpenStudy (arnavguddu):

ok

OpenStudy (anonymous):

in your function try to find a space character and point to the next one if it's not a space char too

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!