What are Storage Classes in C ?

Answer Posted / shweta

write short note on command line arguments?

Is This Answer Correct ?    15 Yes 38 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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 }

2710


What is wrong in this statement?

601


Why do we use stdio h and conio h?

631


What is the difference between a free-standing and a hosted environment?

640


What are the 5 organizational structures?

567






we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

802


count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

673


Explain what are reserved words?

632


The __________ attribute is used to announce variables based on definitions of columns in a table?

669


Explain logical errors? Compare with syntax errors.

618


Why main is not a keyword in c?

646


What is register variable in c language?

597


Describe dynamic data structure in c programming language?

599


What is getch?

630


What are loops in c?

546