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
How do you list files in a directory?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
What are the different properties of variable number of arguments?
Can you please explain the scope of static variables?
Explain the use of #pragma exit?
What language is windows 1.0 written?
What is difference between function overloading and operator overloading?
Explain what is the general form of a c program?
What is wrong in this statement? scanf(“%d”,whatnumber);
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What the different types of arrays in c?
Was 2000 a leap year?
How can I sort more data than will fit in memory?
Describe the header file and its usage in c programming?
What is an auto keyword in c?