Give a oneline C expression to test whether a number is a power of 2?
#include<stdio.h> main() { int a; scanf("%d",&a); if (a&1) printf ("POWER off 2"); printf ("NOT power of 2"); }