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

why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

1192


What is a structure and why it is used?

1294


What is methods in c?

1142


Can the “if” function be used in comparing strings?

1110


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2625


How can I get random integers in a certain range?

1127


How are portions of a program disabled in demo versions?

1345


Can a variable be both constant and volatile?

1185


What is difference between union and structure in c?

1247


What are the advantages of using Unions?

1172


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

2046


Why is struct padding needed?

1160


What is calloc malloc realloc in c?

1108


What are the 32 keywords in c?

1140


What is a global variable in c?

1079