KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
int main() { int i=3; (i << 1); cout << i; //Prints 3 } I expected to get 6 because of shifting left one bit. Why does it not work?
Tags (comma-separated)
Save Edits
Cancel