How do I declare a pointer to an array?

Answer Posted / shruti

you do not need to declare a pointer to any array..

an array itself is a constant pointer..

a[10] is equivalent to *a.

Is This Answer Correct ?    15 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a NULL Pointer? Whether it is same as an uninitialized pointer?

1012


Explain is it better to bitshift a value than to multiply by 2?

938


What is malloc and calloc?

785


What is echo in c programming?

733


What is the difference between fread buffer() and fwrite buffer()?

890


How can you increase the allowable number of simultaneously open files?

807


write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

3643


Why do we use static in c?

812


What is #include in c?

787


Explain the use of keyword 'register' with respect to variables.

796


can we implement multi-threads in c.

860


What are the advantages of using Unions?

835


What is the use of bit field?

870


What are the advantages of c language?

845


What is sizeof c?

820