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

4. You put 10 tiles with the letters A through J into a bag. You reach in without looking and pull out 4 tiles and place them in a row. What is the probability
Is required in some health care careers. This testing is performed by a regulatory body that administers examinations and maintains a current list.​
A neonate receives an iv infusion of dextrose 10 dministered by an infusion pump. the nurse should verify the alarm settings on the infusion pump at which times
Dilate the given line segment by a scale factor of 0.5 with a center of dilation at the origin. Draw the dilated segment on the provided graph.
For any of the following that can exist as isomers, state the type of isomerism and draw the structures:(a) [PtCl₂Br₂]²⁻
In a certain experiment, magnesium boride (Mg₃B₂) reacted with acid to form a mixture of four boron hydrides (Bₓ Hу), three as liquids (labeled I, II, and III)
Can you solve this challenging activity?
Understand the differences between variable costs and fixed costs.
What image do the Watsons present in their layers of clothing
Give the name and symbol or formula of a Group 3A(13) element or compound that fits each description or use:(c) Elemental substance with three-center, two-elect