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?
Answers were Sorted based on User's Feedback
Answer / ramesh
#include<stdio.h>
main()
{
if(printf("Hello world"))
getch();
return;
}
| Is This Answer Correct ? | 2 Yes | 18 No |
Answer / yash
hi yash
#include<stdio.h>
int main()
{
while(printf("hello")){}
}
| Is This Answer Correct ? | 33 Yes | 53 No |
Answer / 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 |
Answer / murali krishna
52.#include<stdio.h>
int main()
{
for(printf("hello world");;)
{
}
return(0);
}
| Is This Answer Correct ? | 11 Yes | 61 No |
Answer / sanjay
write a �Hello World� program in �c� without using a
semicolon?
#include<stdio.h>
int main()
{
while(!(printf("%s \n","hello world!!!")));
{
}
return(0);
}
| Is This Answer Correct ? | 22 Yes | 92 No |
What is hashing in c language?
while running a program, i got the msg that press return key to exit.what that mean in C as there are no such options as far i know.
How can you find the exact size of a data type in c?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
how does the C compiler interpret the following two statements p=p+x; q=q+y; a.p=p+x; q=q+y b.p=p+xq=q+y c.p=p+xq; q=q+y d.p=p+x/q=q+y
Explain what are multibyte characters?
wite a programme in c to linear search a data using flag and without using flags?
in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?
AMMONG THE 4 STROAGE CLASSES IN C, WHICH ONE FASTEST?
how to print "hai" in c?
Is c is a middle level language?
Can static variables be declared in a header file?