This is a discussion on C/C++ Interview Programming Questions within the C Programming forums, part of the General Programming Boards category; C Questions...
Mmm, another "look at my blog full of errors" post.
For example, all the sizeof(foo) answers which you have are actually implementation-defined.
Try compiling them on a 64-bit machine.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
What is this blog, a "Test your C compiler" one?! Much of the code, for example "i++ + ++i", is implementation-defined.
Devoted my life to programming...
Another Tubo C throwback...
20 years out of date... and counting.