KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What is a "trap representation" in C (some examples might help)? Does this apply to C++? Given this code... float f=3.5; int *pi = (int*)&f; ... and assuming that sizeof(int) == sizeof(float) , do f and *pi have the same binary representation/pattern?
Tags (comma-separated)
Save Edits
Cancel