Click here to Skip to main content
15,900,907 members

Comments by steven8Gerrard (Top 52 by date)

steven8Gerrard 31-Jan-13 4:43am View    
So you are implying a is const? Value (i.e) 10 can change . if so how this one works ?


const int a=10;
int const *p=&a;
int b=20;
p=&a;

I still have doubts in pointer to constant . Source found in net is not clear
steven8Gerrard 31-Jan-13 2:15am View    
I'm actually learning in C . BTW they say it is a pointer to constant . So value should not change right?
steven8Gerrard 29-Jan-13 7:25am View    
Thanks for the reply. Much appreciated
steven8Gerrard 29-Jan-13 7:25am View    
Thanks for the reply. Much appreciated
steven8Gerrard 29-Jan-13 7:25am View    
Thanks for the reply. Much appreciated