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
What is the code for 3 questions and answer check in VisualBasic.Net?
What is ctrl c called?
Why is c still so popular?
Does c have enums?
What is the difference between exit() and _exit() function?
How do I get an accurate error status return from system on ms-dos?
How pointer is different from array?
What are the 5 types of inheritance in c ++?
What is identifier in c?
Why isnt there a numbered, multi-level break statement to break out
What is meant by errors and debugging?
Distinguish between actual and formal arguments.
Explain pointer. What are function pointers in C?
How can I list all of the predefined identifiers?
Explain the ternary tree?