1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Whitepunk [10]
3 years ago
10

Dеclarе and allocatе mеmory (on thе hеap) for a onе-dimеnsional array of 256 doublеs namеd pricеs

Computers and Technology
1 answer:
Zigmanuir [339]3 years ago
4 0

Answer:

double *prices=new double [256];

Explanation:

To allocate memory on heap we use new keyword.In the above statement an array name prices is declared and the memory allocated to it is on the heap memory.

First look at double * prices.It is a pointer this pointer is created on the stack memory which holds starting address of the array present on the heap memory of size 256..

You might be interested in
You can delete any content control by ____ it, and then clicking remove content control on the menu that opens.
Bezzdna [24]
<span>You can delete any content control by Right Clicking it, and then clicking remove content control on the menu that opens.</span>
8 0
3 years ago
Jhon bought a new printer for his desktop computer. It does not work even though he checked all the cables and cords. What do yo
Roman55 [17]
I think it’s d sorry if it ain’t ..
4 0
2 years ago
What is often used to improve the quality of a broadcast?
Karo-lina-s [1.5K]
The answer is relay station.
 Relay station is often used to improve the quality of a broadcast. It is an amplifier for restoring the strength of a transmitted signal. An amplifier is an electronic equipment that increases strength  of signals passing through it. Relay station has been known as America's Friendliest travel center.

8 0
2 years ago
Read 2 more answers
The students of a college have to create their assignment reports using a word processing program. Some of the questions in thei
asambeis [7]
The insert table function of a word processing program will be the most useful for comparison.
7 0
2 years ago
Read 2 more answers
The term citizenship means that citizens in a country:
zimovet [89]

Answer:

Its B.

Explanation:

I think

5 0
2 years ago
Other questions:
  • What is an (CR) Optical character recognition?
    13·2 answers
  • To find a webpage, the user of a search engine would simply enter a word or phrase in the resource's text box. what is the term
    11·1 answer
  • Select all the items that determine your preference for a concert ticket. a) band that is playing b) date of the concert c) pric
    7·1 answer
  • Which style of leadership would be most helpful to Charles in the following situation? Charles has just started an internship at
    15·1 answer
  • WHAT SO THESE THINGS THAT I'VE HIGHLIGHTED MEAN IN MICROSOFT WORD?
    12·1 answer
  • 9
    10·1 answer
  • Add (total) all the number in the list (below) using a for loop, but skip over the number at index 3.
    14·1 answer
  • What is the answer 11100+01010​
    8·1 answer
  • Choose the correct answer
    6·1 answer
  • What makes a source credible?
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!