int x=65, *p = &x; cout << p << "__" << *p ;

Discussion in 'Programmer's Corner' started by summeranson, Sep 24, 2009.

  1. summeranson

    Thread Starter Member

    Feb 12, 2009
    28
    0
    What will be printed on the screen after running:

    int x=65, *p = &x;
    cout << p << "__" << *p ;


    A. Program will crash

    B. Other

    C. MemoryAddress_65

    D. I don't know

    E. Compiler error

    F. 65_MemoryAddress
     
  2. summeranson

    Thread Starter Member

    Feb 12, 2009
    28
    0
    is this answer C?
     
  3. summeranson

    Thread Starter Member

    Feb 12, 2009
    28
    0
    answer anyone?
     
  4. delmasli

    New Member

    Sep 17, 2009
    17
    0
    answer:
    p is memo address
    *p is 65
     
Loading...