constant parameters in a function
  
>class foo  
{  
    public:  
        void set(const int a)  
        {b=a;}  
    private:  
        int b;  
    };  

//here 'a' is a constant parameter which is assigned to a non const 
  


constant parameters in a function
===

  
>class foo  
{  
    public:  
        void set(const int a)  
        {b=a;}  
    private:  
        int b;  
    };  

//here 'a' is a constant parameter which is assigned to a non const 
  

