Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

int* p = new int; *p = 25; cout << *p << endl; int* q; q = p; cout << *q;

Odd Oryx answered on August 12, 2021 Popularity 5/10 Helpfulness 1/10

Contents


More Related Answers

  • c++ cout int
  • What will the following code display? int numbers[] = {99, 87, 66, 55, 101); cout << numbers[3] << end1;
  • int main() { setlocale( 0, "ru" ); srand( ( unsigned )time( NULL ) ); const int n = 10; int x[n] = { 0 }; int i, min1; for( i = 0; i < n; ++i ) x[i] = rand() % 100 - 50; for( i = 0; i < n; ++i ) cout << x[
  • int cout
  • I need to write an int function in which there are only cout statements and if I return 0/1 it prints them too.

  • int* p = new int; *p = 25; cout << *p << endl; int* q; q = p; cout << *q;

    0
    Popularity 5/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: cout q whatever
    Link to this answer
    Share Copy Link
    Contributed on Aug 12 2021
    Odd Oryx
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.