What is the real difference between arrays and pointers?

Answer Posted / swetha.j.n

Array is a group of elements.But pointer is not a group of
elements.
Array refer to the data in memory location.But pointer
refer to the address in memory location.

Is This Answer Correct ?    21 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

651


What is a node in c?

552


What happens if you free a pointer twice?

612


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

652


Describe newline escape sequence with a sample program?

660






ATM machine and railway reservation class/object diagram

4807


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

660


What is the meaning of typedef struct in c?

598


What is default value of global variable in c?

564


What is && in c programming?

683


What is an operator?

659


What are lookup tables in c?

552


how should functions be apportioned among source files?

627


Why is c so popular?

652


What do you mean by a local block?

632