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 the meaning of when the ruler behaves himself correctly, the people will also
Solve: Log5x=log(2x+9)
why do sharks not have swim bladder
What is the average of 22,28,and 25.
330,000 write using Scientific Notation.
How did geography affect the development of Greek Civilization?
How are Poland, Hungary and Serbia different ?
What is the matrizie of {3x-2y=-27 {x+3y=13
using special products what is (wx-y)^2
Anne bought a necklace for each of her three sisters. She paid $7 for each necklace. Suppose she had $9 left. Write and solve an equation to find how much money