radomes.openskiesproject.org
Unicobabychem Unicobabychem
  • 25-01-2017
  • Computers and Technology
Answered

What is the output of the following code? int p; int x; x = 12; p = &x; cout << x << ", "; p = 81; cout << *p << endl;

Verified Answer :

rsmith6559
rsmith6559 rsmith6559
  • 02-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

Related Questions

The reaction 4al s 3o2 g 2al2o3 s δh 3351 kj is and therefore heat is by the reaction
Which pronoun best completes the sentence How is the pronoun used Mom and Dad talked to my sister and A I object of a preposition B me direct object C me object
75 of money was spent 25 is 2608 How much is 100
A high bandwidth gives you faster
Muslim scholars advanced world civilization how
A coneshaped container has a height of 6 ft and a diameter of 3 ft It will be filled with concrete mix that costs 200 for each cubic foot What will be the total
How do galaxies change over time
In America the movement known as Romanticism took two forms Bright Romanticism or Transcendentalism and Dark Romanticism What do Transcendentalism and Dark Roma
Which of the following is the correct notation for the complex number 8114
Carlos Maestro Cómo se llama De qué nacionalidad es Maestro Me llamo Andrés Rueda Yo soy Colombia vengo de Colombia colombiano colombiana NextReset