What is the real difference between arrays and pointers?

Answer Posted / vipul singh

there is only a single difference between array and pointer,
in c lang array is limited(limited in the sense,define the
size at complie time) while pointer are upto memory location.
array and pointer both point to the initial
address.

if somebody says it is wrong so pls tell me the correct
difference.
im vipul from jaipur doing MCA 2nd sem.
my email id is vipul.fifteen@yahoo.com

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is file a keyword in c?

504


Explain the difference between the local variable and global variable in c?

605


What is the size of array float a(10)?

658


How pointers are declared?

564


How do I convert a string to all upper or lower case?

630






What is difference between && and & in c?

600


Explain how can I avoid the abort, retry, fail messages?

592


Write a program in c to replace any vowel in a string with z?

698


Write a program for finding factorial of a number.

636


Is array name a pointer?

607


Write a code of a general series where the next element is the sum of last k terms.

597


What are the advantages of using Unions?

642


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

643


What is an lvalue?

637


how to capitalise first letter of each word in a given string?

1435