What is the output of the following code segment?
int i = 5, j = 6, k = 7, n = 3;
cout << i + j * k - kn << endl;
cout << in << endl;
The code will not compile. The errors are "‘kn’ was not declared in this scope" and "‘in’ was not declared in this scope"
Comments
Leave a comment