how many argument we can pas in in a function
Answer Posted / arunthathi
it's 3404. i had worked upto this level.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
pierrot's divisor program using c or c++ code
What is hashing in c?
can any one tel me wt is the question pattern for NIC exam
Explain threaded binary trees?
How to throw some light on the b tree?
How does normalization of huge pointer works?
What is cohesion and coupling in c?
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
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
How is = symbol different from == symbol in c programming?
What are the benefits of c language?
Why is c called c not d or e?
Here is a good puzzle: how do you write a program which produces its own source code as output?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
What is atoi and atof in c?