We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • HackerRank Home

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Hiring developers?
  1. Prepare
  2. C++
  3. Debugging
  4. Overloading Ostream Operator
  5. Discussions

Overloading Ostream Operator

Problem
Submissions
Leaderboard
Discussions
Editorial

Sort 58 Discussions, By:

recency

Please Login in order to post a comment

  • ijjaiswal12
    2 months ago+ 0 comments
    ostream& operator<<(ostream& os, const Person& p) {
        os << "first_name=" << p.get_first_name() << ",last_name=" << p.get_last_name();
        return os;
    }
    
    0|
    Permalink
  • abdulrahmannase1
    4 months ago+ 0 comments
    ostream& operator<<(ostream& out,const Person& pers){
        out<<"first_name="<<pers.get_first_name()<<","<<"last_name="<<pers.get_last_name();
        return out;
    }
    
    0|
    Permalink
  • aadinew7
    4 months ago+ 0 comments

    Here are the solution of Overloading Ostream Operator in C++ Hacker Rank Solution

    0|
    Permalink
  • brokenprogramme1
    4 months ago+ 0 comments

    Here are the solution of Overloading Ostream Operator in C++ HackerRank Solution https://www.brokenprogrammers.com/overloading-ostream-operator-in-cpp-hackerrank-solution/

    0|
    Permalink
  • poonamdeorasurp1
    5 months ago+ 0 comments

    Here is problem solution - https://thecscience.com/hackerrank-overloading-ostream-operator-in-cpp-problem-solution.html

    0|
    Permalink
Load more conversations

Need Help?


View editorial
View top submissions
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy