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 type of ear never gets dirty?
Determine the range of the fu
Based on the diagram, which statement is accurate A AB = BC B AD = AC C AC > AD D AD > AC
what is radical and how to use it
Correct answer please? I can't figure it out
Hari wants to buy a cricket bat of the cost Rs. 728.75 and a pair of gloves of the cost Rs. 837.65. Find the total amount he needs.​
use the graph of f to determine each of the following
There are 70 new houses being built in a neighborhood. Last month, 2/5 of them were sold. This month, 2/7 of the remaining houses were sold. How many houses are
Why did the author use sensory language in the second paragraph of My Summer Scooping Ice Cream?
use the graph of f to determine each of the following