-
is there any meaning for this: ***a0
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
-
Member • Aug 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. -
Member • Aug 30, 2010
ok. can u give examp;e how exactly it is usedAre you sure? This action cannot be undone. -
Member • Aug 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. -
Member • Aug 30, 2010
Are you clear with the given example or you need more explaination.Are you sure? This action cannot be undone.