What will be printed out as a result of the following code execution?
#include <iostream>

int main() {
    std::cout << ++static_cast<int&>(*(new int(5)));
}

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes