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...


compare array with pointer?



compare array with pointer?..

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

More C Interview Questions

main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); }

4 Answers   CitiGroup,


what is the differnce between AF_INET and PF_INET?

5 Answers   Systems Plus, Wipro,


In scanf h is used for

4 Answers   BFL,


code for bubble sort?

1 Answers  


what is the format specifier for printing a pointer value?

0 Answers  


why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above

0 Answers  


what is array?

8 Answers  


How to reverse a linked list

1 Answers   Aricent, Fidelity, IBM, TCS,


How can I automatically locate a programs configuration files in the same directory as the executable?

0 Answers  


What is pointer to pointer in c?

0 Answers  


find the minimum of three values inputted by the user

3 Answers  


How do we make a global variable accessible across files? Explain the extern keyword?

0 Answers  


Categories