What is difference between array and pointer in c?


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

Post New Answer

More C Interview Questions

HOW TO HANDLE EXCEPTIONS IN C

8 Answers  


What is pragma in c?

0 Answers  


main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }

1 Answers   Vector, Vector India,


Which is better malloc or calloc?

0 Answers  


typedef struct { int i:8; char c:9; float f:20; }st_temp; int getdata(st_temp *stptr) { stptr->i = 99; return stptr->i; } main() { st_temp local; int i; local.c = 'v'; local.i = 9; local.f = 23.65; printf(" %d %c %f",local.i,local.c,local.f); i = getdata(&local); printf("\n %d",i); getch(); } why there there is an error during compiling the above program?

1 Answers  






What is main return c?

0 Answers  


Linked lists -- can you tell me how to check whether a linked list is circular?

0 Answers  


How many types of arrays are there in c?

0 Answers  


What are pointers?

0 Answers   Accenture, Tavant Technologies, Zensar,


What is pointer in c?

0 Answers  


write a program for egyptian fractions in c?

1 Answers   Satyam,


main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?

1 Answers   GATE,


Categories