"Working with Arrays" Please respond to the following:

label Computer Science
account_circle Unassigned
schedule 1 Day
account_balance_wallet $5

contrast the differences of indexed arrays versus associative arrays, and provide an example of a situation or scenario of each array usage.

Feb 16th, 2015

we can access data of index array by index of array

for e.g 

to access the first value in array we use 0 as index.

int arr[5]; size of array

arr[0]={5} here zero is index.

in associative array you  have to give the key.

for e.g id , name

1 xyz

2 pqr

2 is use to access the pqr like that.

Best of luck

Best  answer.


if you want detail explanation make the question paid thanks

Feb 16th, 2015

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
Feb 16th, 2015
Feb 16th, 2015
Sep 20th, 2017
Mark as Final Answer
Unmark as Final Answer
Final Answer

Secure Information

Content will be erased after question is completed.

Final Answer