KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In the following code: int i = 0; switch(i) { case 0: cout << "In 0" << endl; i = 1; break; case 1: cout << "In 1" << endl; break; } What will happen? Will it invoke undefined behavior?
Tags (comma-separated)
Save Edits
Cancel