User profile: newbie456

User info
User name:newbie456
History
Joined:
Number of posts:35
Latest posts:

Please help
How to flip bits of a number in C++? for ex: 5->101 should become 010 which is 2

Explain this code behaviour
@MiiniPaa: Thanks for the explaination. :) Anyhow, This was a question asked in Oracle recruitment ...

Explain this code behaviour
@MiiNiPaa: I tried changing the value of i to 100 and 1000, it gives out garbage value as 4 and 5 re...

Explain this code behaviour
Please read the comment. [code] #include <iostream> int M(int i) { printf("%d\n",i++); } ...

Explain this C program
Sincerely, Thank you all, this post has been very helpful!