Unicobabychem Unicobabychem
  • 25-01-2017
  • Computers and Technology
contestada

What is the output of the following code? int *p; int x; x = 12; p = &x; cout << x << ", "; *p = 81; cout << *p << endl;

Respuesta :

rsmith6559
rsmith6559 rsmith6559
  • 03-02-2017
Without

#include <iostream>
using namespace std;

It probably won't compile, so no output.

The less pedantic answer:

12,81

on it's own line ( std.endl).
Answer Link

Otras preguntas

what is victorias reaction when she finds her father and mother shifting the bureau to their room how does the mother react to it
What is the relationship between the solution of an equation in two variables and its graph?
“A business organization requires both long term and short term capital which can either be on the form of ownership capital and borrowed capital.” Comment upon
A person who is 15 years old has a target heart rate range of   A. 99–132.   B. 132–176.   C. 114–152.   D. 123–164
If 14 is 35% of a value, what is that value?
can anyone out there help me find why the answer is 800,000.00 pls help. i post it already one time and no one answer it. so i post it for the second time
Twenty of the 50 digital video recorders​ (DVRs) in an inventory are known to be defective. What is the probability you randomly select an item that is not​ def
Which of the following best describes the following characteristics: water storage, clean energy, and flood prevention?
Who expanded cell theory
Angle B is 45% of angle A. Angle C is 35% of angle A. What is the measurement of angle A?