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

______________ is the changing of a theme to take on a different character or personality each time it returns in a movement or work. select one: a. fixed idea
The key idea of the transformation called a reflection is _____. the object moves the plane a certain angle measure the object moves in a straight line movement
How many solutions can be found for the equation −4x − 11 = 2(x − 3x) + 13?
Left turns are made from the furthest _________ lane and should be done so only when traffic dictates it is safe and prudent.
During the admission assessment, the nurse identifies the client has a history of raynaud's. what assessment finding would the nurse expect to find
A parent rewards a child with 50 cents for each correctly solved mathematics problem and fines the child 30 cents for each incorrectly solved problem. if the ch
Which example is most similar to the evidence that Darwin used to support his idea of natural selection?
Determine the total relevant cost per unit if starters are purchased from an outside supplier.
What limited the early presidents
What is the value of -2 (7-15) over 4