what is meant by the "equivalence of pointers and arrays" in
C?

Answer Posted / shruti

An array is a constant pointer.
a[10] is equivalent to *a..
it is known as base pointer..

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I read the arrow keys? What about function keys?

608


How would you use the functions fseek(), freed(), fwrite() and ftell()?

697


What are header files? What are their uses?

632


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

662


Explain union. What are its advantages?

611






What are the different types of control structures in programming?

654


What are local static variables?

616


Is a pointer a kind of array?

595


What is typedef?

660


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

722


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

603


What is the purpose of main() function?

648


What is the process to create increment and decrement stamen in c?

583


What is a loop?

548


What is the difference between declaring a variable by constant keyword and #define ing that variable?

2689