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 / taruna chaudhary

thanx ram u r exelent.

Is This Answer Correct ?    17 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the benefit of using an enum rather than a #define constant?

722


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

1591


How do you determine the length of a string value that was stored in a variable?

652


What is null pointer in c?

595


What is the benefit of using #define to declare a constant?

607






What is a function simple definition?

618


How do you view the path?

670


Why c is called object oriented language?

590


which is conditional construct a) if statement b) switch statement c) while/for d) goto

739


Why is c so powerful?

687


Explain Function Pointer?

681


How can I write functions that take a variable number of arguments?

626


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2190


Explain what is the difference between a free-standing and a hosted environment?

635


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

649