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

Add the following fractions.3/8 + 5/12 =
If (3+y)/y=7, then y= Please help :)
how do I solve (3+i)(3-i)
Which type of twins are likely to interact with each other in the womb a. Non-identical b. Identical c. neither
How far away is Canopus in kilometres?
The ratio of Sam age to Hanks is 5 to 3. If the sum of their ages is 24, how old is Hank?
a swimming pool holds 375,000 liters of water. two large hoses are used to fill the pool. the first hose fills at a rate of 1500 liters per hour and the second
What causes chemical weathering?
Please help??? Science SEMESTER REVIEW!!!!In a series of rock layers, a geologist finds fossils of a pine trees and oak trees in layers that are 1.0 m and 1.5
In the book: A Wrinkle in timeWhat advice, which was given by Mrs. Who, does Charles Wallace forget to follow?A.Only fools are afraid.B.Go off on your own when