What is the real difference between arrays and pointers?
Answers were Sorted based on User's Feedback
Answer / mak
@ved: abey chutiye kyu bakchodi kar rha hai idhar....
Is This Answer Correct ? | 1 Yes | 0 No |
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 |
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 |
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 |
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 |
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 |
Write a program that can show the multiplication table.
program for comparing 2 strings without strcmp()
give one ip, find out which contry
differentiate between const char *a; char *const a; and char const *a;
2 Answers College School Exams Tests, HCL, TCS,
What is f'n in math?
What is the difference between functions getch() and getche()?
What is getch() function?
What is the difference between char a[] = "string"; and char *p = "string"; ?
14 Answers Adobe, Honeywell, TCS,
Explain Basic concepts of C language?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What is the use of c language in real life?
How do we swap or interchange any 2 numbers without using Temporary variable...Anybody can pls answer it.. Thanks in Advance