jalberthilary8087 jalberthilary8087
  • 04-10-2019
  • Computers and Technology
contestada

Create a new integer using an integer pointer named intpoint.

a) intpoint = & int;

b) intpoint = new & int;

c) intpoint = new * int;

d) intpoint = new int;

Respuesta :

ExieFansler ExieFansler
  • 04-10-2019

Answer:

d) intpoint = new int;

Explanation:

We have an integer pointer named intpoint. So to create a new integer using new keyword the syntax is as following:-

pointer variable = new data type;

Data type is integer so we will use int. Pointer variable is intpoint.

So to declare it we have to write:-

intpoint = new int;

So the matching option is d

Answer Link

Otras preguntas

What is an instrumental suite?
Match each literary term with its definition. a. the location where a story takes place b. providing hints about a story's eventual outcome c. the main argument
How were the September 11 terrorist attacks unique??
Find the value of x. A: 8.1 B: 13.4 C: 14.6 D: 9.4
The only African nations to avoid Europeans imperialism in the 19th century were?
What reason did the Soviet Union give for its expansion after world war two?
how much money has to be invested at 5.9% interest compounded continuously to have 15,000 after 12 years?
Which unit rate is the lowest price per ounce? Choice A: 25 ounces of potato chips for $3.49 Choice B: 40 ounces of potato chips for $4.79
A chemist requires 0.450 mol na2co3 for a reaction. how many grams does this correspond to?
What is James Madison's main point in his address to congress?