1. Write a C program to count the number of occurrence
of
a specific word in the given strings.
(for e.g. Find how many times the word “live” comes in the
sentence “Dream as if you’ll live forever, live as if
you’ll die today ”)

Answer Posted / anil

only balaji's ws de ri8 answer... thanx 2 him...

Is This Answer Correct ?    23 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

#include { printf("Hello"); } how compile time affects when we add additional header file .

1428


Where can I get an ansi-compatible lint?

646


What is calloc()?

633


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

702


Do you know the use of fflush() function?

605






What do you mean by c what are the main characteristics of c language?

576


writ a program to compare using strcmp VIVA and viva with its output.

1529


What is void pointers in c?

594


What is the difference between formatted&unformatted i/o functions?

620


What header files do I need in order to define the standard library functions I use?

543


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

627


What is the best organizational structure?

644


What are types of functions?

571


What are near, far and huge pointers?

650


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

1631