What is arrays pointers, Computer Engineering

Assignment Help:

Q. What is Arrays Pointers?

An array is a collection of similar type of data. Arrays are extremely popular data structures in parallel programming because of their easiness of declaration and use. At the one hand arrays are able to be used as common memory resource for Shared memory programming on the other hand they are able to be easily partitioned in sub-arrays for Data parallel programming. This is flexibility of arrays which makes them most often used data structure in parallel programming.  We will study arrays in context of two languages C and Fortran 90.

Let's have a look at the array shown below. The size of array is 10.

1952_What is Arrays Pointers.png

Index of first element in Fortran 90 is 1 however which is 0 in C and as a result index of last element in Fortran 90 is 10 and which is 9 in C. If we allot the name of array for example A then ith element in Fortran 90 is A (i) however in C it's A [i-1].  Arrays can be one-dimensional or they can be multi-dimensional.


Related Discussions:- What is arrays pointers

What are the requirements for a swapper to work, What are the requirements ...

What are the requirements for a swapper to work? The swapper works on the highest scheduling priority. Firstly it will look for any sleeping method, if not found then it will

Payroll pc, Purpose: Payroll processing and storage for the client database...

Purpose: Payroll processing and storage for the client database (accessed from the Reception-PCover the network),word processing (reports etc.) and spreadsheets. Software: . • W

What are the logic micro-operations, Q. What are the Logic Micro-operations...

Q. What are the Logic Micro-operations? Logic operations are fundamentally binary operations that are performed on string of bits stored in the registers. For a logic micro-ope

Fuzzy logic - artificial intelligence, Fuzzy set theory provides a means fo...

Fuzzy set theory provides a means for modeling the kind of uncertainty associated with vagueness, with imprecision, and/or with a lack of information regarding a particular element

Find the magnetic declination, Question Use the National Geophysical Da...

Question Use the National Geophysical Data Center software tool to find the magnetic declination. The link to the web site is in Useful Links on the course Blackboard home page

Ict, how to become an ict enginer

how to become an ict enginer

How cloud can be used in event schedules, How cloud can be used in Event Sc...

How cloud can be used in Event Schedules and Management with an example. Web-based calendars can be used to post dates and schedules for specific public events, such as school

Explain the e-cheques verses credit cards in brief, Explain the E-cheques v...

Explain the E-cheques verses Credit Cards in brief. E-cheques: E-cheques are utilized for business dealing into e-commerce. Transactions of such cheques take place onto Inter

Explain working of d flip -flop, Q. Explain working of D Flip -Flop? D ...

Q. Explain working of D Flip -Flop? D (data) flip-flop is modification of RS flip-flop. Problem of undefined output in SR flip-flop when both R and S become 1 gets avoided in D

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd