What is the output of the following code snippet??
#include <iostream>
using namespace std;
int main()
{
    void x= 1, y= 2;
    int z;
    z= x + y;
    cout << z;
    return 0;
}


Posted on by