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

#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300,200,100

1 Answers  


Reverse a string word by word??

9 Answers  


how to exchnage bits in a byte b7<-->b0 b6<-->b1 b5<-->b2 b4<-->b3 please mail me the code if any one know to rajeshmb4u@gmail.com

3 Answers   Honeywell, Huawei,


List the difference between a 'copy constructor' and a 'assignment operator' in C?

0 Answers   Accenture,


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

0 Answers  






macros and function are related in what aspect? a)recursion b)varying no of arguments c)hypochecking d)type declaration

12 Answers   HCL, Infosys, Microsoft,


What is the difference between array_name and &array_name?

0 Answers  


What are dangling pointers in c?

0 Answers  


What is difference between far and near pointers?

0 Answers  


What are different types of variables in c?

0 Answers  


How can I split up a string into whitespace-separated fields?

0 Answers  


Write a program to reverse a linked list in c.

0 Answers   DELL, HAL,


Categories