CJCoding With Joseph
15per day
← Back to Question List
C++ Code Walkthrough #11

Simple Variable Print

easyPrinting

📄 Code

Read carefully — what does this print?
1#include <iostream>
2using namespace std;
3 
4int main() {
5 int x = 4;
6 int y = 7;
7 cout << x + y << endl;
8 cout << x * y << endl;
9 return 0;
10}

🎯 Your Answer