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

help me right now its easy 30pts
Which of the following is the Best description on health protection
in what way did the English Bill of Rights change the government of England
Viruses and bacteria are both microscopic and can both cause disease. Viruses differ from bacteria in that all viruses A. have cell walls. B. need a living ho
What is belief bias and what is the best way to avoid belief bias when making decisions?
What proposed law in the mid-1800s would have banned slavery in territory taken from Mexico?
By the end of the Russian civil war which military group had seized control of Russia
Justin bought 9 packs of trading cards each pack of cards cost $3.27 what was the total cost for all nine packs
What is the solution to the system of linear equations? {2x+4y=203x+2y=26 Enter your answer in the boxes. ([],[])
1/4-2/3y=3/4-1/3 solve for y