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 Gov't of Sumer? What are the Gov't of Sumer?
a. Given ????=P(1+????t), i. Solve for P. ii. Solve for ????.
Write 82,700,000 in scientific notation.
What are these answers please HELP me
the answer to this question​
Choose all the answers that apply. Which of the following are made from glucose? protein starch fats oils
Find the slope and the y-intercept of the line y=1/2x
how are proteins essential for the survival of organisms
The glenohumeral joint is more likely to dislocate __________ because the rotator cuff muscles do not strengthen the joint here.
[tex]3 \ \frac{4}{9} - 1 \ \frac{1}{3} [/tex]​