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 did the stamp act do? a.forced colonists to pay for newspapers b.raised the cost of locally-made beer and wine c.put a tax on tea coming from india d.put a
Un frasco de perfume tiene la capacidad de 1/20 de litro. ¿Cuántos frascos de perfume se pueden llenar con el contenido de una botella de 3/4 de litro?
A website has 13,406 people registered. What is this number in word form
Arrange the events from Beowulf in the correct order. Tiles Beowulf waits for Grendel to attack Heorot. Beowulf sets out on his journey for Daneland. Beowulf su
Richard Connell’s “The Most Dangerous Game” is a thematically rich story. What is one of the complex psychological themes that this story deals with? a. the di
what is 150% of 18 ?
Mission of awesomeness what is the definition of awesomeness
Most people in Botswana earn their living doing which of the following?
2-(4p+3)=-3(p+2)-(2p+3)
What is 2.7 repeating as a fraction or mixed number in simplest from?