What are the advantages and disadvantages of pointers?


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

Post New Answer

More C Interview Questions

Find if a number is power of two or not?

1 Answers  


Rapunzel walks into the forest of forgetfullness. She meets a Lion who lies on Monday Tuesdays and Wednesdays and meets a rabbit who lies on Thurs fridays and saturdays . On that day both say that "I lied yesterday". What day is it .

3 Answers   TCS,


Explain how to reverse singly link list.

0 Answers  


#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

0 Answers  


Differentiate between calloc and malloc.

0 Answers   Wipro,






#include <stdio.h> #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x?

16 Answers   Accel Frontline, Opera, Oracle,


How can you find the exact size of a data type in c?

0 Answers  


Why main is used in c?

0 Answers  


What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1;

12 Answers   TCS,


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

0 Answers  


what is difference between array and structure?

44 Answers   College School Exams Tests, CTS, Google, HCL, IBM, Motorola, TCS,


why array index always starts from zero??

4 Answers   TCS,


Categories