compare array with pointer?

Answer Posted / vadivel t

conceptually, pointer is another representation of an array.
In both the concepts data elements can be accessed using
subscripts.

Array knows the boundary of it. But pointer will not know
its boundary, unless otherwise informed explicitly.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where are some collections of useful code fragments and examples?

712


What are the different types of objects used in c?

569


explain what is an endless loop?

607


What is structure in c language?

615


Which control loop is recommended if you have to execute set of statements for fixed number of times?

805






When was c language developed?

697


Explain how can type-insensitive macros be created?

570


Why static variable is used in c?

548


What is the difference between c &c++?

643


Is fortran faster than c?

572


In C language, a variable name cannot contain?

737


Write a program to swap two numbers without using third variable in c?

613


what are enumerations in C

720


how we can make 3d venturing graphics on outer interface

3998


Explain what is operator promotion?

631