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 / deepak kumar
#include<stdio.h>
main()
{
while(printf("hello world"))
{
}
return(0);
}
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Is printf a keyword?
why programs in c are running with out #include
What is a list in c?
What is memory leak in c?
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
What is the difference between exit() and _exit() function?
What are keywords in c with examples?
What does void main () mean?
What is variable and explain rules to declare variable in c?
Can you please explain the difference between malloc() and calloc() function?
What is a shell structure examples?
Why is it that not all header files are declared in every C program?
Can a variable be both constant and volatile?
What is the difference between call by value and call by reference in c?
What is logical error?