Good am can i ask for a example of primitive operation that has implicit argument and its explanation.. Thank You

Recommended Answers

All 2 Replies

look it up in your textbook ??? Also, read this thread to get the definition of an "implicit argument".

Arguments that are passed automatically without being explicitly declared.

class Test
{
  private:
   string name;
  public:  
    void setName(string s){
              name=s;
              cout<<name<<endl; //implicit argument
              cout<<s<<endl; //explicit argument
   }
};
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.