What are pointers? What are different types of pointers?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

write a own function for strstr

1 Answers   LG Soft,


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

0 Answers   Facebook,


without using control structures and control structures find the max and min of given 2 nos

1 Answers   HCL,


Why does not use getgh(); and <conio.h> in c language.

3 Answers   Elofic,


The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

0 Answers  


Design a program using an array that searches a number if it is found on the list of the given input numbers and locate its exact location in the list.

4 Answers  


how many keywords do C compile?

7 Answers   Microsoft, Practical Viva Questions,


what is the output of following question? void main() { int i=0,a[3]; a[i]=i++; printf("%d",a[i] }

3 Answers  


What is the memory allocated by the following definition ? int (*x)[10];

4 Answers   ADITI, Wipro,


Describe wild pointers in c?

0 Answers  


List the difference between a While & Do While loops?

0 Answers   Accenture,


What is the difference between constant pointer and pointer to a constant. Give examples.

4 Answers   TCS,


Categories