What is the real difference between arrays and pointers?

Answers were Sorted based on User's Feedback



What is the real difference between arrays and pointers?..

Answer / mak

@ved: abey chutiye kyu bakchodi kar rha hai idhar....

Is This Answer Correct ?    1 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / jayu

in that case i just want to tell u 1 thing that the array
needs continuous memory ,but pointer could be flexible in the,
memory allocation cases.

Is This Answer Correct ?    1 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / nagendra kumar

pointer is dependent variable
array is not a dependent variable
array is a constant pointer type it is sequence of variables

Is This Answer Correct ?    1 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / shailesh

u can access arrays by index where pointers are help to pass references to the object

Is This Answer Correct ?    0 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / raja

answer#1

Is This Answer Correct ?    0 Yes 3 No

What is the real difference between arrays and pointers?..

Answer / johnson

Down at the lowest level, they both store addresses, there is
no difference. The difference is simply how the C language
allows you to use them, specially with multi dimensional
arrays. Single dimemsion arrays and pointers are practically
interchangeable.

Is This Answer Correct ?    37 Yes 47 No

What is the real difference between arrays and pointers?..

Answer / ved prakash

There is NO DIFFERENCE between Array and Pointer... Both
are 100% Equivalent... Ya but Implementation wise Array
is more friendly than Pointer, Actually Internally array is
converted into Pointer by the compiler..

I can Write more if you are not getting my Point..
U can contact me at VED.COM@GMAIL.COM

Is This Answer Correct ?    26 Yes 89 No

Post New Answer

More C Interview Questions

Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors

3 Answers  


Result of the following program is main() { int i=0; for(i=0;i<20;i++) { switch(i) case 0:i+=5; case 1:i+=2; case 5:i+=5; default i+=4; break;} printf("%d,",i); } } a)0,5,9,13,17 b)5,9,13,17 c)12,17,22 d)16,21 e)syntax error

8 Answers   IBM,


what would be the output of the following program? main() { int k = 123; char *ptr; ptr = &k; printf("%d",*ptr); }

4 Answers  


can any one tell that i have a variable which is declared as static but i want this variable to be visible to the other files? how?

2 Answers  


Explain is it better to bitshift a value than to multiply by 2?

0 Answers  






Find occurence of a character in a sting.

3 Answers   TCS,


can you change name of main()?how?

3 Answers   HCL, Siemens,


what is the program to display your name in any color?

2 Answers   HCL,


Hi, main() { } Is a user defined function or Built in Functionn

26 Answers   Honeywell, Yahoo,


What is quick sort in c?

0 Answers  


what is the use of fflush() function?

2 Answers  


4)What would be the output? main() { int num=425; pf("%d",pf("%d",num)); } a)Comp error b)4425 c)4253 d)3435 e)none

10 Answers  


Categories