0

wat is use of array and pointer

12th Jul 2016, 5:04 PM
yuvaraj cena
yuvaraj cena - avatar
5 Réponses
+ 2
array is a derived data type used to store data on the memory and pointer is basically a derived data type used to store addressed ...or simply points towards a block of data in memory
12th Jul 2016, 8:25 PM
Vedant Patadia
Vedant Patadia - avatar
0
by using array u can store data of same data type and by using pointers u can stores the address of another variable instead of storing it's value
12th Jul 2016, 9:30 PM
sanket
0
pointer point to memory and array ar space of memory together and you can do an array of pointer like this int *p[4];
13th Jul 2016, 5:10 AM
Rafael Marroquin
Rafael Marroquin - avatar
0
In array we can store many elements under one name, it provide easy working if there are so many numbers if there are many numbers then it taje many variables and we have to input and print that variable , which is very tipicle so we use the aaray pointer is a variable which stores the address of another variable it take only two bytes in memory and it is faster than any other variable
14th Jul 2016, 5:02 PM
Arpit agarwal
0
array is used as a more efficent data cobtainer for a large amount of data. while pointers are used to point to a specific file in your hard drive
20th Jul 2016, 9:36 AM
Orfeo Terkuci
Orfeo Terkuci - avatar