Answer Posted / srinu naik
if((~n+1)& n ==n) printf("\n Given number is power of 2");
else printf("\Not the POwer of 2");
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Wt are the Buses in C Language
What is header file in c?
Why is event driven programming or procedural programming, better within specific scenario?
What is array within structure?
Differentiate between declaring a variable and defining a variable?
what are bit fields? What is the use of bit fields in a structure declaration?
What is the purpose of type declarations?
Explain built-in function?
What do you mean by a sequential access file?
How can I recover the file name given an open stream?
What is structure padding in c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
How many types of functions are there in c?
What is union and structure?
What is else if ladder?