← Back to Question List
C++ Code Walkthrough #47
Char Arithmetic and Casting
📄 Code
Read carefully — what does this print?1#include <iostream>2using namespace std;34int main() {5 char c = 'A';6 c = c + 3;7 cout << c << " " << (int)c << endl;8 return 0;9}