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 / cpd

53.another possible answer
count=0;
num; //32 bit integer
hex =0x01;
for(i=0;i<32;hex<<1,i++)
if(hex&num)
count++;

Is This Answer Correct ?    7 Yes 53 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the __date__ and __time__ preprocessor commands?

1130


What is #define used for in c?

1066


Write a program to use switch statement.

1136


What is data structure in c and its types?

1071


Explain #pragma statements.

1055


What is a structure in c language. how to initialise a structure in c?

1067


What is sizeof int?

1108


Why are algorithms important in c program?

1126


How many main () function we can have in a project?

1115


Can the sizeof operator be used to tell the size of an array passed to a function?

1119


Is there anything like an ifdef for typedefs?

1154


What is meant by gets in c?

1193


What is the difference between the expression “++a” and “a++”?

1235


Explain why c is faster than c++?

1075


What is the total generic pointer type?

1161