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 |
Why is c so important?
How does placing some code lines between the comment symbol help in debugging the code?
Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE.
What are the advantages and disadvantages of c language?
How are portions of a program disabled in demo versions?
Describe dynamic data structure in c programming language?
Can a binary search tree be used as an index? If yes, how? Explain
How we can set and clear bit in a byte using macro function?
Given a string write a program to print all alphabetical characters in the order of their occurance first,followed by the sum of the numeric characters then followed by the special characters in the order of their occurance.
1 Answers College School Exams Tests, Wipro,
How do I send escape sequences to control a terminal or other device?
Explain what is the difference between #include and #include 'file' ?
Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.
2 Answers Scientific Atlanta, Wipro,