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

Can somebody help please
Writing a story about a night out with friends that goes wrong and I have brain block not sure where to go with the story. can anyone help? ​
Cual el teatro mas importante de República Dominicana
only 4 b and c please
convert 5'5 into meters​
Highlight five importance of relief features of Ghana .Brainlypatrol please stop deleting my questions​
Andrew has $550 in a savings account that earns 5% annually how much will she earn in interest in 4 years​
Which powerful Greek city-state took charge of the Peloponnesian League and took on the Delian League?
A rectangular bathroom mirror is 4 feet tall and 7 feet wide. What is its area? square feet
A number w minus 3 is less than or equals to 10