Answer Posted / hary
int Isnopowerof2(int n)
{
if (n & n-1)
return 0;
return 1;
}
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is pointers in c?
How can you allocate arrays or structures bigger than 64K?
What is size of union in c?
What is the total generic pointer type?
Why should I use standard library functions instead of writing my own?
Are pointers really faster than arrays?
What are the rules for identifiers in c?
What is the purpose of void in c?
What is the difference between break and continue?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
Tell us the use of fflush() function in c language?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
what is ur strangth & weekness
Compare array data type to pointer data type
Why is c not oop?