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 / v.srinivasan
write a �Hello World� program in �c� without using a
semicolon?
#include<stdio.h>
main()
{
if(printf("Hello World \n"))
{
}
}
This will work perfectly.
| Is This Answer Correct ? | 315 Yes | 44 No |
Post New Answer View All Answers
What does sizeof int return?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
Is it better to use a macro or a function?
how could explain about job profile
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
What is meant by recursion?
Are there any problems with performing mathematical operations on different variable types?
What are the advantages of using new operator as compared to the function malloc ()?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Explain how do you list files in a directory?
what are enumerations in C
Explain how can I prevent another program from modifying part of a file that I am modifying?
Explain what is the most efficient way to store flag values?
What does != Mean in c?
write a program to find the given number is prime or not