write an algorithm to get a sentence and reverse it in the
following format:
input : I am here
opuput: Here Am I
note: first letter of every word is capiatlised
1. Write the function int countchtr(char string[ ], int ch);
which returns the number of times the character ch appears
in the string.
Example, the call countchtr(“She lives in NEWYORK”, ‘e’)
would return 3.
I have written a pro*C program to fetch data from the
cursor. where in i have used the concept of BULK FETCH....
each FETCH statement is taking lots of time to fetch
specified number of rows at...
Given an array A[n+m] of n+m numbers, where A[1] ... A[n] is
sorted and A[n+1] ... A[n+m] is
sorted. Design a linear time algorithm to obtain A[1...n+m]
sorted using only O(1) extra space.
Time Complexity of your algorithm should be O(n) and Space
Complexity O(1).
85
how to determine the complexity of an algorithm as log(n)
hi... can anyone help me to make a two-dimensinal arrays in
finding the sum of two elements plzzz. thnx a lot...
23
hi folks i m approching for h1 b interview on monday 8th of
august at montreal and i m having little problem in my
approval notice abt my bithdate my employer has made a
mistake while applying it is 12th january and istead of
that he had done 18 the of january do any body have any
solution for that if yes how can i prove my visa officer
abt my real birthdate it urgent please let me know guys
thaks dipesh patel
How do you initialize function pointers? Give an example?
3
the factorial of non-negative integer n is written n! and
is defined as follows:
n!=n*(n-1)*(n-2)........1(for values of n greater than or
equal to 1 and
n!=1(for n=0)
Perform the following
1.write a c program that reads a non-negative integer and
computes and prints its factorial.
2. write a C program that estimates the value of the
mathematical constant e by using the formula:
e=1+1/!+1/2!+1/3!+....
3. write a c program the computes the value ex by using the
formula
ex=1+x/1!+xsquare/2!+xcube/3!+....