PapaBlessJr8403 PapaBlessJr8403
  • 27-12-2019
  • Computers and Technology
contestada

.The _________ , also known as the address operator, returns the memory address of a variable.

a. asterisk ( * )
b. ampersand ( & )
c. percent sign ( % )
d. exclamation point ( ! )

Respuesta :

flightbath flightbath
  • 28-12-2019

Answer:

Option (b)

Explanation:

Whenever we want to pass a variable by address and not as value, we have to pass it as reference and reference of a variable can be made by putting '&' in front of the variable.

For example - int number=4;  // it is a variable whose value is 4

/*Lets say a function setNum takes it as argument as reference then call will be like below line*/

setNum(&number);

Answer Link

Otras preguntas

How do you write 2,795,080,000 in word form
A box has dimensions of 19 inches long, 1.7 feet wide, and 6 inches high. What is the volume of the box?
what significant invention was made by sumerians
Spencer buys 20 strawberries to make smoothies. Each smoothie needs 5 strawberries. Use a count -by to find the number of smoothies Spencer can make.
Solve using Distributive property 12×308=12×(_+8)
If an investor possesses a portfolio heavily concentrated in Certificates of Deposit, a financial advisor would most likely suggest which of the following aggr
what is the missing number in (18x2)x5=18x(2x____)
How are real numbers different from irrational number?
from 8 and 3 which is greater
round 71290 to the nearest 10 what's the answer?