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

If 1 centimeter represents 40 kilometers, how many centimeters are needed to represent 440 kilometers?
What is the slope of the line that passes through the points (1,7),(10, 1)?3/22/3-3/2-2/3​
F(x)=-3x+4 and g(x)=x^2 what is (g ° f)(0)
A quadrilateral has angles that measure 44°, 89°, and 127°. What is the measure of the fourth angle? °
I need to know the answer
a block of wood has a mass of 6.0 G and a volume of 12.0 centimeters what is the density of the block of wood​
Find xok so i just need a quick answer and thx to ever responds to this​
A positive charge of +0.300 c moves horizontally due +x at speed of 250 m/s. It entered a magnetic field direction of -y with a magnitude of 0.400 T. What is t
Which factors can cause anemia? Select all that apply.lack of plasmalack of ironlack of vitamin B12lack of folic acid​
What is the floor of an aquatic biome called? benthic zone photic zone marine zone aphotic zone