What will be printed out as a result of the following code execution:

#include <iostream>

int main(int argc, char* argv[])
    int try = 0;
    std::cout << try++;
    return 0;
Compilation error will occur since try is a reserved keyword in C++.

Follow CodeGalaxy

Mobile Beta

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