what is array?

Answer Posted / siva

we can use more than one variable

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we assign integer value to char in c?

619


How many types of arrays are there in c?

599


a program that can input number of records and can view it again the record

1488


What is the difference between procedural and functional programming?

523


how we can make 3d venturing graphics on outer interface

4016






What are the different types of errors?

648


Which is best book for data structures in c?

601


What is scope rule of function in c?

554


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;ia1[i+1]) && (a2[i]>a2[i+1]) ) ) return false; } return true;//assumed that each array doesn't contain duplicate elements in themshelves }

2718


What are the advantages and disadvantages of c language?

567


Give differences between - new and malloc() , delete and free() ?

614


how to make a scientific calculater ?

1568


Why is extern used in c?

614


Is swift based on c?

642


What is this infamous null pointer, anyway?

613