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

#include<stdio.h>
void main(){
if(printf("Hello World"))
{

}
}

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain bit masking in c?

910


How many types of operators are there in c?

809


What kind of structure is a house?

769


What is the purpose of realloc()?

887


List the difference between a "copy constructor" and a "assignment operator"?

778


Why main function is special give two reasons?

1222


What is a macro in c preprocessor?

849


How are structure passing and returning implemented?

779


Explain how do you view the path?

875


How to throw some light on the b tree?

820


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

892


Is c high or low level?

785


What is the difference between test design and test case design?

1835


What is bash c?

767


Is it acceptable to declare/define a variable in a c header?

882