FlowYT
FlowYT FlowYT
  • 13-09-2018
  • Computers and Technology
contestada

c++ Question: what is in the blanks?
code:
int x = 24;
int y;
y = _-12;
cout<<_<<endl;

Respuesta :

tonb
tonb tonb
  • 13-09-2018

You didn't specify what the program should output, so there are many possibilities that result in a working program. It *looks* like this was intended:

int x = 24;

int y;

y = x-12;

cout<<y<<endl;

and it will display 12.

Answer Link

Otras preguntas

Discuss the two key requirements for writing SQL Server audits to the Windows Security log.
If Nixon had not run for reelection after his first term, do you think he would have gone down in history as a great president? Why or why not?
What is the best way to change the sentence below from active voice to passive voice? You should apply pressure to a wound because it is the best way to stop t
Find the common ratio of the geometric sequence minus, 8, comma, minus, 32, comma, minus, 128, comma, point, point, .−8,−32,−128
How long can someone live with a feeding tube
Lab evidence of a chemical change make makeup answer key
If ΔG° for a reaction is 2.03 kJ/mol, what is K for the reaction at 300 K?
Explain why there are much larger numbers ofdifferent proteins than polysaccharides.
Why did arafat rejected the oslo accords ?
What did the temperance movement fight for?A a reduction in the use of alcoholB women's rightsC abolitionD equality for people of all races