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

# define prod(a,b)=a*b main() { int x=2; int y=3; printf("%d",prod(x+2,y-10)); } the output of the program is a.8 b.6 c.7 d.none

7 Answers   Microsoft, TCS,


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

0 Answers  


what is difference between strcmp & palindrome?

3 Answers  


How to reverse a string using a recursive function, with swapping?

5 Answers  


get any number as input except 1 and the output will be 1.without using operators,expressions,array,structure.don't print 1 in printf statement

3 Answers  


`write a program to display the recomended action depends on a color of trafic light using nested if statments

0 Answers  


print 1-50 with two loop & two print Statement

2 Answers  


why return type of main is not necessary in linux

0 Answers   TCS,


What is the use of function in c?

0 Answers  


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

0 Answers   Persistent,


how to use enum datatype?Please explain me?

3 Answers   Excel,


How to set file pointer to beginning c?

0 Answers  


Categories