KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The following code is allowed in C++: int a = a; or Type name = name; Both lead to an uninitialized object being initialized by itself, which often leads to undefined behavior. Is such code ever needed or reasonable? Are there cases of such code being useful?
Tags (comma-separated)
Save Edits
Cancel