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

I'm a brainy plus member that shows it doesn't expire until 3/2022, but when I take a picture and click on answer it won't give the answer to me. It is blurry.
Which product is less than 5/8 help l will give you brainlest
his name:which country his from:What did he invent,create or discover:​
It is measured that 3/4 of a body's volume is submerged in oil of density 800kg/m³
PLSSSS HELP ILLL GIVE U ANYTHING PLZZZZZZZZZZ!!!!!!
Which is the graph of y = – 3?
-6x+5=47. What does x equal and how do I show my work
what is 2324132352413142536-1342536435241342536/2354253643524125363541+425364763524142536475
I need help please answer correctly
An entrepreneur is an individual who creates a new business, bearing most of the risks and enjoying most of the rewards. ... The entrepreneur is commonly seen a