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 / ukrocky
Write Hello World Without using Hello World From Ukrocky
#include<iostream.h>
void main()
{
int a[12]={72,101,108,108,111,32,87,111,114,108,100,0};
for(int i=0; i<12; i++)
{
cout<<char(a[i]);
}
cout<<endl;
}
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
Explain bitwise shift operators?
What is the value of h?
Write a program on swapping (100, 50)
List out few of the applications that make use of Multilinked Structures?
What is difference between main and void main?
What is data structure in c language?
What is wild pointer in c with example?
How can you check to see whether a symbol is defined?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What is the use of header?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
When c language was developed?
What is anagram in c?
Dont ansi function prototypes render lint obsolete?