Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What will this output?

Name: Anonymous 2016-06-19 12:21

What will this program output?
Good luck, you'll need it!

#include <iostream>
using namespace std;

int main() {
class c {
public:
c() {
void f();
f();
}
};

c my_c();
}

void f() {
cout << "VALID C++" << endl;
}


The answer is absolutely nothing because c my_c(); is a fucking function declaration.

Name: Anonymous 2016-07-13 21:28

>>62
But that means you can't actually get the entire output. That's like saying
#include <string>
int main() {
string aString = "Hello World!";
return 0;
}

is a valid Hello World program.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List