C Programming and Technical

write a function Power2 which returns the nearest power of 2 of the number being passed.

Read Solution (Total 2)

C Other Question

In!a!Circle!

A number of children are standing in a circle. If the 5th person is opposite the 13th person, how many people are in the circle?
Q. What is the output of the following program?

void main(){
int a=1;
while(a++ <= 1)
while(a++ <= 2);
printf("%d",a);
}