Here is a small Program to print powers of 2 till 8. But it is not quitting after 8. Please explain the reason.
#include #include
For your edit Section
#include int main() { if((2^8) == (1<<8)) { printf("True.. \n"); } else { printf("False..!!"); } return 0; }
It will return False.