6. Which of the Following is not defined in string.h?
A)strspn()
B)strerror()
C)memchr()
D)strod()
Answer Posted / vishnu948923
d, strod is not avaliable
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
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 scope rule of function in c?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
how could explain about job profile
What is dangling pointer in c?
Does c have class?
what are the different storage classes in c?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
How can I invoke another program or command and trap its output?
Is there any demerits of using pointer?
What is header file definition?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
What is masking?
How do shell structures work?
In C programming, how do you insert quote characters (‘ and “) into the output screen?