← Back to Question List
C++ Code Walkthrough #11
Simple Variable Print
📄 Code
Read carefully — what does this print?1#include <iostream>2using namespace std;34int main() {5 int x = 4;6 int y = 7;7 cout << x + y << endl;8 cout << x * y << endl;9 return 0;10}