Hello everyone,this is very basic...but please help me if anybody know about this... Can an array be called as a const pointer?
                +2 
                A: 
                
                
              
            Yes. An array always decays to a pointer when passed as a parameter to a function.
                  Paul R
                   2010-02-26 12:20:35
                
              
                +5 
                A: 
                
                
              
            Do you mean "can array be used where a const pointer is expected"? In that case, yes:
void f(const int* p)
{
    ...
}
int ar[10];
f(ar); // this works, array is essentially a pointer
                  Vlad
                   2010-02-26 12:20:45
                
              
                +3 
                A: 
                
                
              
            if you are referring to the array's address then YES it will be a constant.
                  CadetNumber1
                   2010-03-07 14:58:40