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
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
Explain do array subscripts always start with zero?
What are enumerated types?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
How we can insert comments in a c program?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
What is atoi and atof in c?
If null and 0 are equivalent as null pointer constants, which should I use?
Why we not create function inside function.
What is boolean in c?
What are the types of assignment statements?
Explain how do you list a file’s date and time?
What is %d called in c?
Explain how do you print an address?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.