Programming with Passion

Make the best out of everything.

Tuesday, 14 February 2017

Empty main

How to print “breakthecodenow” with empty main() in C++?


#include <iostream>
using namespace std;
class MyClass
{
public:
    MyClass()
    {
        cout << "breakthecodenow";
    }
}m;
int main()
{
}

No comments:

Post a Comment