Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

52.write a “Hello World” program in “c” without using a
semicolon?
53.Give a method to count the number of ones in a 32 bit number?
54.write a program that print itself even if the source file
is deleted?
55.Given an unsigned integer, find if the number is power of 2?

Answer Posted / sivajyothi katireddi

55:

if(num & (num-1) == 0)
{
printf("num is power of 2\n");
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How a string is stored in c?

1066


Why do we need a structure?

1037


What does emoji p mean?

1110


FILE PROGRAMMING

2233


What is c++ used for today?

1108


I heard that you have to include stdio.h before calling printf. Why?

1063


What is the function of multilevel pointer in c?

1084


What are header files? What are their uses?

1205


When c language was developed?

1058


What are the valid places to have keyword “break”?

1086


What is the sizeof () operator?

1079


Write a c program to demonstrate character and string constants?

2188


What are the back slash character constants or escape sequence charactersavailable in c?

1173


Who developed c language and when?

1061


Which driver is a pure java driver

1602