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-10-28 11:36

>>77
it's not a garbage collected language
The standard allows it to be.

and I assumed use of a non-optimizing compiler
You assume many things.

however wouldn't assigning a value to a null pointer cause the program to crash?
Its UB

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