KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I was asked the output of the following code in my interview yesterday #include <stdio.h> int main(void){ printf ("%x" ,-1<<4); } I was given 2 minutes to tell the answer. I responded fffffff0 . The result of the interview has not been declared yet. I want to know was my answer correct?
Tags (comma-separated)
Save Edits
Cancel