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 the real difference between arrays and pointers?

Answers were Sorted based on User's Feedback



What is the real difference between arrays and pointers?..

Answer / subhasmita swain

arrays stores a block of contigious memory .where as
Pointers are save the base address of the block of
memory,it may be a array of datas.pointers can resize them
shelves by pointing to a different block of memory,in
contrast arrays are fixed size.

Is This Answer Correct ?    5 Yes 3 No

What is the real difference between arrays and pointers?..

Answer / vipul singh

there is only a single difference between array and pointer,
in c lang array is limited(limited in the sense,define the
size at complie time) while pointer are upto memory location.
array and pointer both point to the initial
address.

if somebody says it is wrong so pls tell me the correct
difference.
im vipul from jaipur doing MCA 2nd sem.
my email id is vipul.fifteen@yahoo.com

Is This Answer Correct ?    4 Yes 2 No

What is the real difference between arrays and pointers?..

Answer / ajay kumar

The name of the array represents the base address of the array. Thus, the name of the array can be used effectively as any other pointer to an array in accessing the elements of the array.

Is This Answer Correct ?    2 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / ravi

Array is simply collecton of similar datatype and the pointer is a variable that represents the location of that data.

Is This Answer Correct ?    2 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / bhavani.p

Array is slow,array refer data in memory location.
Pointer is fast,pointer refer address to the memory location....

Is This Answer Correct ?    2 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / revathi

Array supports static memory allocation in the sense the memory size is allocated before it can use
Pointer supports dynamic memory allocation in the sense the memory is resized

Is This Answer Correct ?    2 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / saurabh agarwal

array name is a unmodifiable lvalue whereas pointer is a modifiable l value

Is This Answer Correct ?    1 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / shubham arora

1-through pointers we can access data directly while in array we have to traverse the whole array for accessing particular data.
2- due to above reason accessing through pointers is fast than
array.

Is This Answer Correct ?    1 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / anu yadav

array can be of any size whereas pointer is always of 2 byte......

Is This Answer Correct ?    1 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / sachin.r

Arrays allocate the memory during compile time.
Pointers allocate the memory during runtime.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

what is the mean of c languages.

1 Answers   Polaris,


what is difference between ++(*p) and (*p)++

17 Answers   Accenture, HCL, IBM,


please can some one guide me, to the answer Write a C program to enter 15 numbers as an input from the keyboard and program will find and print odd numbers and their average. i have studied while and do while loop for loop if and else if switch

2 Answers  


I have a function which accepts a pointer to an int. How can I pass a constant like 5 to it?

3 Answers  


A program to allow an input operand and operator from the operator and read on the display and output operand.

0 Answers  


Explain what are the different file extensions involved when programming in c?

0 Answers  


Differentiate between ordinary variable and pointer in c.

0 Answers  


What is the scope of local variable in c?

0 Answers  


How can you increase the size of a dynamically allocated array?

0 Answers   TISL,


Write a code to generate divisors of an integer?

0 Answers   Ericsson,


what is the difference between : func (int list[], ...) or func (int *list , ....) - what is the difference if list is an array and if also if list is a pointer

2 Answers  


What does %d do?

0 Answers  


Categories