Answer Posted / mukesh kumar
pointer is variable it contain's or store the address of
other variable.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
What are disadvantages of C language.
Explain what is wrong with this program statement? Void = 10;
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 the difference between array and structure in c?
Explain why C language is procedural?
What is meant by type casting?
Is c procedural or functional?
What are the parts of c program?
Explain what math functions are available for integers? For floating point?
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
What is a stream water?
What is difference between Structure and Unions?
Explain what is page thrashing?