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
^ is not power in c, it means XOR. 2^8==10 and it will not equal to i in this code.
^
XOR