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

How to make a mixed fraction
In a short response of at least three complete sentences, define flash-forward and explain its effect on a traditional plot structure
What are 5 pros and cons of living in sparta and athens in greece?
events of ww2 that led to UDHR
An illegal drug stimulates the parasympathetic nervous system, causing the user to appear tranquilized. What could indicate to a paramedic whether or not the pe
Which group of organisms is a population? a group of skunks living in the same forest all sheep in Australia different kinds of butterfli
luke jogged a total of 56.5 miles last week. if luke jogged the same distance,d, each day for 3 days and half that distance on each of the reamaining days, whic
How do you say "Some brown spiders"?
How do you say "Some brown spiders"?
what were National and State Bank policies in the 1830's contributed to?