Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / nikhil

The meaning of equivalence is to convey that the pointers
and array syntax like ptr[i] *(array +i) can be used
interchangeably.

Is This Answer Correct ?    9 Yes 1 No

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

Answer / sameer

name of array(without subscript) points to the first
location of array.
eg. a[10].
a points to first location of array.

Is This Answer Correct ?    1 Yes 3 No

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

Answer / 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

More C Interview Questions

What is the difference between null pointer and void pointer

10 Answers   CTS, Manforce, MAQ Software,


What is the use of void pointer and null pointer in c language?

0 Answers  


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

0 Answers  


How do I send escape sequences to control a terminal or other device?

0 Answers  


What is the collection of communication lines and routers called?

0 Answers  


write a c program to find the roots of a quadratic equation ax2 + bx + c = 0

11 Answers   CSC, St Marys, TATA,


What is #include cctype?

0 Answers  


Explain what is the difference between far and near ?

0 Answers  


In which header file is the null macro defined?

0 Answers  


I heard that you have to include stdio.h before calling printf. Why?

0 Answers  


How is a two dimensional array passed to function when the order of matrix is not known at complie time?

1 Answers   CSC,


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

0 Answers   TCS,


Categories