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
What does dm mean sexually?
what do u mean by Direct access files? then can u explain about Direct Access Files?
What are run-time errors?
Can a pointer be null?
What does 2n 4c mean?
Write a Program to find whether the given number or string is palindrome.
What is the advantage of a random access file?
Why flag is used in c?
State two uses of pointers in C?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
Explain what are run-time errors?
How can I insert or delete a line (or record) in the middle of a file?
You have given 2 array. You need to find whether they will
create the same BST or not.
For example:
Array1:10 5 20 15 30
Array2:10 20 15 30 5
Result: True
Array1:10 5 20 15 30
Array2:10 15 20 30 5
Result: False
One Approach is Pretty Clear by creating BST O(nlogn) then
checking two tree for identical O(N) overall O(nlogn) ..we
need there exist O(N) Time & O(1) Space also without extra
space .Algorithm ??
DevoCoder
guest
Posted 3 months ago #
#define true 1
#define false 0
int check(int a1[],int a2[],int n1,int n2)
{
int i;
//n1 size of array a1[] and n2 size of a2[]
if(n1!=n2) return false;
//n1 and n2 must be same
for(i=0;i
What is the collection of communication lines and routers called?
provide an example of the Group by clause, when would you use this clause