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

Brand A scooter has a top speed that goes 2 miles per hour faster than Brand B. if after hours, Brand A scooter traveled 24 miles, at what rate did Brand B scoo
What two mixed numbers have a sum of 3
Argyle has 8 t-shirts and 5 pairs of shorts that he wears with either sandals or sneakers.if all the colors and patterns coordinate how many different outfits c
the interaction between mosquitoes and human beings is called ?
What two mixed numbers have a sum of 3
125 thousandths = 1 tenth _______________ thousandths
what is the equivalent of 1/50 : fraction , in decimal form
What is the answer to 2c-5=c+4
125 thousandths = 1 tenth _______________ thousandths
4x+5y=20 write this equation in slope intercept form