CrazyEngineers
  • Pointers: What does ***a mean?

    K Harish Naidu

    K Harish Naidu

    @k-harish-naidu-zxTWaT
    Updated: Oct 13, 2024
    Views: 1.0K
    is there any meaning for this: ***a
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • xxxabhash007

    MemberAug 30, 2010

    Re: pointers

    ***a means pointer to a pointer to pointer.
    This means 'a' is pointer variable which holds address of another pointer which holds address of another variable which holds the actual value.
    Are you sure? This action cannot be undone.
    Cancel
  • K Harish Naidu

    MemberAug 30, 2010

    ok. can u give examp;e how exactly it is used
    Are you sure? This action cannot be undone.
    Cancel
  • BCA_GIRL

    MemberAug 30, 2010

    Here is the example for ***
    #include<iostream.h>
    #include<conio.h>
    void main()
    { int i=10,*j,**k,***s;
    j=&i;
    k=&j;
    s=&k;
    cout<<***s; [This will print 10]
    cout<<"\n"<<**(&s); [This will print the address of k, means to say the address stored in s)
    getch();
    }
    Are you sure? This action cannot be undone.
    Cancel
  • xxxabhash007

    MemberAug 30, 2010

    Are you clear with the given example or you need more explaination.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register